Merge lp:~oxan/gearman.net/bugfix into lp:gearman.net
Proposed by
Oxan van Leeuwen
Status: | Approved |
---|---|
Approved by: | John Ewart |
Approved revision: | 24 |
Proposed branch: | lp:~oxan/gearman.net/bugfix |
Merge into: | lp:gearman.net |
Diff against target: |
22 lines (+4/-1) 1 file modified
src/Connection.cs (+4/-1) |
To merge this branch: | bzr merge lp:~oxan/gearman.net/bugfix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
John Ewart | Pending | ||
Review via email: mp+34336@code.launchpad.net |
Description of the change
Use incremental receiving. Socket.Receive doesn't guarant that it reads all bytes you specify, it just reads at least 1 byte. If the payload is big, we need to call Receive multiple times to read the whole payload.
To post a comment you must log in.
Unmerged revisions
- 24. By Oxan van Leeuwen
-
Use incremental receiving. Socket.Receive doesn't guarant that it reads all bytes you specify, it just reads at least 1 byte. If the payload is big, we need to call Receive multiple times to read the whole payload.