You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2005/10/23 22:39:22 UTC

[jira] Commented: (AXISCPP-748) Test: The TCP transmit message boundary is set by SO_SNDBUF. What happens when the message > buffer?

    [ http://issues.apache.org/jira/browse/AXISCPP-748?page=comments#action_12336775 ] 

nadir amra commented on AXISCPP-748:
------------------------------------

By default, send/recv buffers are either 4k or 8k.   It would be a good idea to use something bigger, such as 32K or even 64K for both sizes. More information below.  

TCP send buffer size
================
The TCP send buffer size provides a limit on the number of outgoing bytes that are buffered by TCP. Once this limit is reached, attempts to send additional bytes may result in the application blocking until the number of outgoing bytes buffered drops below this limit. The number of outgoing bytes buffered is decremented when the remote system acknowledges the data sent.

Setting this parameter does not guarantee the size of the TCP send buffer. This is the default buffer size that is used for initial TCP connection negotiations.

TCP receive buffer size
==================
Specifies what to allocate for the default receive buffer size. The TCP receive window size is based on this value. Decreasing this value decreases the amount of data that the remote system can send before being read by the local application. Decreasing this value may improve performance in situations where many retransmissions occur due to the overrunning of a network adapter.

Setting this parameter does not guarantee the size of the TCP receive buffer. This is the default buffer size that is used for initial TCP connection negotiations.



> Test: The TCP transmit message boundary is set by SO_SNDBUF.  What happens when the message > buffer?
> -----------------------------------------------------------------------------------------------------
>
>          Key: AXISCPP-748
>          URL: http://issues.apache.org/jira/browse/AXISCPP-748
>      Project: Axis-C++
>         Type: Test
>   Components: Transport (axis3), Transport (Client)
>     Versions: current (nightly)
>  Environment: n/a
>     Reporter: Fred Preston
>     Priority: Trivial

>
> The TCP transmit message boundary is set by SO_SNDBUF.  What happens when the message > buffer?

-- 
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