You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Randy Terbush <ra...@zyzzyva.com> on 1997/06/09 01:54:37 UTC
Re: [PATCH] SendBufferSize not valid in virtualhost
+1
Has anyone played with values > 16384 with this variable?
> Proposed for both branches of the tree.
>
> Index: src/http_core.c
> ===================================================================
> RCS file: /export/home/cvs/apache/src/http_core.c,v
> retrieving revision 1.81
> diff -c -r1.81 http_core.c
> *** http_core.c 1997/05/08 13:09:24 1.81
> --- http_core.c 1997/06/08 00:11:01
> ***************
> *** 867,872 ****
> --- 867,875 ----
>
> const char *set_send_buffer_size (cmd_parms *cmd, void *dummy, char *arg) {
> int s = atoi (arg);
> + if (cmd->server->is_virtual) {
> + return "SendBufferSize directive can not be used in <VirtualHost>";
> + }
> if (s < 512 && s != 0) {
> return "SendBufferSize must be >= 512 bytes, or 0 for system default.";
> }
> Index: htdocs/manual/mod/core.html
> ===================================================================
> RCS file: /export/home/cvs/apache/htdocs/manual/mod/core.html,v
> retrieving revision 1.56
> diff -c -r1.56 core.html
> *** core.html 1997/06/04 16:14:13 1.56
> --- core.html 1997/06/08 00:11:05
> ***************
> *** 1158,1164 ****
> <A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>
> <!--%plaintext <?INDEX {\tt SendBufferSize} directive> -->
> <strong>Syntax:</strong> SendBufferSize <em>bytes</em><br>
> ! <strong>Context:</strong> server config, virtual host<br>
> <strong>Status:</strong> core<p>
>
> The server will set the TCP buffer size to the number of bytes
> --- 1158,1164 ----
> <A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>
> <!--%plaintext <?INDEX {\tt SendBufferSize} directive> -->
> <strong>Syntax:</strong> SendBufferSize <em>bytes</em><br>
> ! <strong>Context:</strong> server config<br>
> <strong>Status:</strong> core<p>
>
> The server will set the TCP buffer size to the number of bytes
Re: [PATCH] SendBufferSize not valid in virtualhost
Posted by Dean Gaudet <dg...@arctic.org>.
Apparently to do end-to-end OC-12 speeds requires buffers on the order of
780k on each end. As of a year ago I believe only IRIX allowed buffers as
large as 512k (just large enough for HIPPI I think), solaris didn't.
Don't know what the current state of affairs is.
Dean
On Sun, 8 Jun 1997, Randy Terbush wrote:
>
> +1
>
> Has anyone played with values > 16384 with this variable?
>
>
> > Proposed for both branches of the tree.
> >
> > Index: src/http_core.c
> > ===================================================================
> > RCS file: /export/home/cvs/apache/src/http_core.c,v
> > retrieving revision 1.81
> > diff -c -r1.81 http_core.c
> > *** http_core.c 1997/05/08 13:09:24 1.81
> > --- http_core.c 1997/06/08 00:11:01
> > ***************
> > *** 867,872 ****
> > --- 867,875 ----
> >
> > const char *set_send_buffer_size (cmd_parms *cmd, void *dummy, char *arg) {
> > int s = atoi (arg);
> > + if (cmd->server->is_virtual) {
> > + return "SendBufferSize directive can not be used in <VirtualHost>";
> > + }
> > if (s < 512 && s != 0) {
> > return "SendBufferSize must be >= 512 bytes, or 0 for system default.";
> > }
> > Index: htdocs/manual/mod/core.html
> > ===================================================================
> > RCS file: /export/home/cvs/apache/htdocs/manual/mod/core.html,v
> > retrieving revision 1.56
> > diff -c -r1.56 core.html
> > *** core.html 1997/06/04 16:14:13 1.56
> > --- core.html 1997/06/08 00:11:05
> > ***************
> > *** 1158,1164 ****
> > <A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>
> > <!--%plaintext <?INDEX {\tt SendBufferSize} directive> -->
> > <strong>Syntax:</strong> SendBufferSize <em>bytes</em><br>
> > ! <strong>Context:</strong> server config, virtual host<br>
> > <strong>Status:</strong> core<p>
> >
> > The server will set the TCP buffer size to the number of bytes
> > --- 1158,1164 ----
> > <A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>
> > <!--%plaintext <?INDEX {\tt SendBufferSize} directive> -->
> > <strong>Syntax:</strong> SendBufferSize <em>bytes</em><br>
> > ! <strong>Context:</strong> server config<br>
> > <strong>Status:</strong> core<p>
> >
> > The server will set the TCP buffer size to the number of bytes
>
>
>
>
Re: [PATCH] SendBufferSize not valid in virtualhost
Posted by Marc Slemko <ma...@worldgate.com>.
> > Proposed for both branches of the tree.
I will amend this to be proposed for HEAD only for now. I don't see it
being worthwhile holding back things like this until we decide what is
going on. If we decide to leave 1.2 as is, then no problem later and if
we decide to bring back changes to 1.2 then we just have to merge it
later.
> >
> > Index: src/http_core.c
> > ===================================================================
> > RCS file: /export/home/cvs/apache/src/http_core.c,v
> > retrieving revision 1.81
> > diff -c -r1.81 http_core.c
> > *** http_core.c 1997/05/08 13:09:24 1.81
> > --- http_core.c 1997/06/08 00:11:01
> > ***************
> > *** 867,872 ****
> > --- 867,875 ----
> >
> > const char *set_send_buffer_size (cmd_parms *cmd, void *dummy, char *arg) {
> > int s = atoi (arg);
> > + if (cmd->server->is_virtual) {
> > + return "SendBufferSize directive can not be used in <VirtualHost>";
> > + }
> > if (s < 512 && s != 0) {
> > return "SendBufferSize must be >= 512 bytes, or 0 for system default.";
> > }
> > Index: htdocs/manual/mod/core.html
> > ===================================================================
> > RCS file: /export/home/cvs/apache/htdocs/manual/mod/core.html,v
> > retrieving revision 1.56
> > diff -c -r1.56 core.html
> > *** core.html 1997/06/04 16:14:13 1.56
> > --- core.html 1997/06/08 00:11:05
> > ***************
> > *** 1158,1164 ****
> > <A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>
> > <!--%plaintext <?INDEX {\tt SendBufferSize} directive> -->
> > <strong>Syntax:</strong> SendBufferSize <em>bytes</em><br>
> > ! <strong>Context:</strong> server config, virtual host<br>
> > <strong>Status:</strong> core<p>
> >
> > The server will set the TCP buffer size to the number of bytes
> > --- 1158,1164 ----
> > <A name="sendbuffersize"><h2>SendBufferSize directive</h2></A>
> > <!--%plaintext <?INDEX {\tt SendBufferSize} directive> -->
> > <strong>Syntax:</strong> SendBufferSize <em>bytes</em><br>
> > ! <strong>Context:</strong> server config<br>
> > <strong>Status:</strong> core<p>
> >
> > The server will set the TCP buffer size to the number of bytes
>
>
>