Bug 36038 - ReceiveBufferSize Directive
Summary: ReceiveBufferSize Directive
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: Runtime Config (show other bugs)
Version: 2.0.54
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2005-08-05 09:02 UTC by Murray Nesbitt
Modified: 2007-11-25 01:40 UTC (History)
1 user (show)



Attachments
Patch for new ReceiveBufferSize directive (9.60 KB, patch)
2005-08-05 09:09 UTC, Murray Nesbitt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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