[ http://issues.apache.org/jira/browse/XMLRPC-41?page=all ]
Jochen Wiedmann closed XMLRPC-41:
---------------------------------
Resolution: Fixed
Assign To: (was: rpc-dev mailing list)
AFAIK, the default buffer size of BufferedOutputStream is 8192 bytes.
> Use a larger size for the BufferedOutputStream
> ----------------------------------------------
>
> Key: XMLRPC-41
> URL: http://issues.apache.org/jira/browse/XMLRPC-41
> Project: XML-RPC
> Type: Bug
> Components: Source
> Versions: 2.0
> Environment: Operating System: All
> Platform: All
> Reporter: Christoph Theis
>
> In LiteXmlRpcTransport, the BufferedOutputStream is created with the default
> buffer size of 512 bytes. This is pretty small, even smaller than the MTU, and
> might cause the request to be sent in 2 calls. After each call the socket will
> wait for the (TCP stack) ACK from the server, but the TCP stack there will
> delay
> sending the ACK until more packets are to be acknowleged (that will not
> happen)
> or a timeout. A default size of about 1500 (the max. possible MTU) or even
> larger (and let the TCP stack devide the request into packets) would be nice.
> Or
> even better a configurable buffer size :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira