Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Wrap with a for loop while sending&receiving header #98

Merged
merged 1 commit into from
Aug 31, 2016

Conversation

zhichao-li
Copy link
Contributor

Sometimes the stream socket might input or output fewer bytes than requested due to the buffer limits or interruption.Normally we would wrap the read & write socket methods within a loop to remedy the problem of "ERROR: Read partial messageheader" which would be triggered occasionally while running CaffeOnSpark via tcp on 8 nodes.

@yahoocla
Copy link

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄

@yahoocla
Copy link

CLA is valid!

@mriduljain
Copy link
Contributor

Will need to check as we haven't got a problem unless your network has
issues. Anyway thanks for the pull request, will take a look

On Tue, Jun 28, 2016 at 12:09 AM, li,zhichao notifications@github.com
wrote:

Sometimes the stream socket might input or output fewer bytes than
requested due to the buffer limits or interruption.Normally we would wrap
the read & write socket methods within a loop to remedy the problem of
"ERROR: Read partial messageheader" which would be triggered occasionally

while running CaffeOnSpark via tcp on 8 nodes.

You can view, comment on, or merge this pull request online at:

#98
Commit Summary

  • wrap read and write with for loop

File Changes

Patch Links:


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#98, or mute the thread
https://github.com/notifications/unsubscribe/ACCTVToZktXjkgNJ31ZLZhpUBM9Mz_5Gks5qQMjEgaJpZM4I_zgi
.

@mriduljain
Copy link
Contributor

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants