forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
proxy: fix short writes caused by mcp.internal
Wasn't filling in the 'tosend' portion of a response structure when using mcp.internal to create a response object. This field is used as a fastpath check to see if a response has been completely transmitted to the socket or not. Since it was zero, we would always consider an mcp.internal() based response as completely sent, cutting off the data for larger items. Expands tests for "simply large" and also a large enough to be chunked item.
- Loading branch information
Showing
3 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters