Bug 36038

Summary: ReceiveBufferSize Directive
Product: Apache httpd-2 Reporter: Murray Nesbitt <murray>
Component: Runtime ConfigAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: murray
Priority: P2 Keywords: PatchAvailable
Version: 2.0.54   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch for new ReceiveBufferSize directive

Description Murray Nesbitt 2005-08-05 09:02:59 UTC
The SendBufferSize directive, which is used to adjust the TCP send buffer size,
has existed for many years, but it would appear there has been no pressing need
for a companion directive to control the size of the TCP receive buffer.  We
have written an application that requires the ability to adjust the size of this
buffer.

I have tried using apr_socket_opt_set, unfortunately the buffer size must be
modified prior to connect() or accept() (at least on Linux...).

I will follow up with a patch to support this functionality.  It's a very
straightforward change, and I've added English documentation for the new
directive.  It would be great to see it added!

Thanks.
Comment 1 Murray Nesbitt 2005-08-05 09:09:35 UTC
Created attachment 15898 [details]
Patch for new ReceiveBufferSize directive