HttpRequest: write whole request to socket
Better performance by using a single write, and some servers may not be happy about getting so many TCP fragments for the HTTP header. Change-Id: If7139e2a7748ea423d470676e70bd523a89031b2 Reviewed-on: https://review.haiku-os.org/c/909 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
27aefde9fd
commit
1322d50732
@@ -68,8 +68,8 @@ private:
|
||||
status_t _ProtocolLoop();
|
||||
status_t _MakeRequest();
|
||||
|
||||
void _SendRequest();
|
||||
void _SendHeaders();
|
||||
BString _SerializeRequest();
|
||||
BString _SerializeHeaders();
|
||||
void _SendPostData();
|
||||
|
||||
void _ParseStatus();
|
||||
|
||||
Reference in New Issue
Block a user