Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.3
-
Security Level: Public
-
None
-
CBG Sprint 18, CBG Sprint 19
-
5
Description
When aborting sending a message over BLIP, and that message is large enough to span multiple frames, nextFrameToSend leaks its encoder writer goroutine and it never unblocks on m.WriteTo()
This can be seen in the expvars, as goblip.goroutines_next_frame_to_send:93, and observed in the goroutine profiles.
Build sync_gateway-2.1.3.1-2 contains go-blip commit 0d0c6a8 with commit message:
CBG-279Fix leak in nextFrameToSend by closing message encoder (#38) (#41)