Process class requires an output buffer #32
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
suggestion
support
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/hazaar-warlock#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So I keep getting these
socket_write()
errors (broken pipe). While "broken pipe" normally means that the socket is being closed by the other end, I think that may not always be the case. Anywayz, as it turns out I need to handle partial output with socket_write, which I am not currently doing. This may alleviate some issues.So, the lass itself should have an output buffer.
socket_write()
will return how many bytes it actually wrote. If that is less than the size of the output buffer then we need to truncate the output buffer withsubstr()
and try again in the future to send the rest.created branch
32-process-class-requires-an-output-buffer
mentioned in merge request !10
closed via commit
0e88a616ef
closed via merge request !10
Added the output buffer easily enough. Then while testing this, I discovered that the frame buffer and payload buffer in the server client class was not doing what it was supposed to do so I have fixed this at the same time.