Is there any easy way to get a list of the cookies (name/value pairs) from a
client's request?
Best regards,
Juan C. Rivera
Citrix Systems, Inc.
Question
on Apache 2.0.43:
I'm
trying to use AddOutputFilterByType on a reverse proxy vhost. Looking at the
code in core.c line
2633, it checks if the request is proxied and if so, they don't
add the filters specified in the AddOutputFilterByType entries. Why?
If you do: SetOutputFilter BLANK;DEFLATE should work with no problems.
Best regards,
Juan C. Rivera
Citrix Systems, Inc.
-Original Message-
From: Justin Erenkrantz [mailto:jerenkrantz;apache.org]
Sent: Sunday, November 03, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: mod_blank dev
Probably
this issue has been brought many times. I wonder if there are
any effort to support xml-based configuration files instead of the
current format? Any links or pointers would be helpful.
Since,
Apache 2 does not support it probably is for a good reason(s). Anybody can
point me to
I
have a question about the way mod_proxy_http works.
Does
the thread block until the response from the back end server is completed? Is
this MPM specific?
Any
document available about the basic architecture of mod_proxy?
Juan C. Rivera
: Saturday, November 16, 2002 8:27 AM
To: [EMAIL PROTECTED]
Subject: Re: Apache and persistent connections
Juan Rivera [EMAIL PROTECTED] writes:
I looked at how Apache 2 works and it seems like a thread holds a connection
for the lifetime of it. Is this right?
yes
If I wanted to optimize
The
declarations of the debug versions for ap_strXXX may differ from the header
file if the default calling convention is not the same as the one define for AP_DECLARE.
Those
functions are declared without the AP_DECLARE. This patch adds the AP_DECLARE
to those functions.
I
have been modifying the Winnt MPM to support IO
Completion ports to avoid client per thread model.
I
also refactored mod_echo
for testing purposes. I'm almost done but I think the async
i/o is going to introduce all sorts of compatibility
problems with filters that block while reading
Title: RE: WELCOME to [EMAIL PROTECTED]
You can write an output filter and configure it like this
VirtualHost *
Proxy Entries Here
Proxy *
SetOutputFilter MyFilterName
/Proxy
/VirtualHost
Your filter will have a chance to look and modify the content that goes to the client
Title: RE: [PATCH] mod_deflate extensions
I agree that mod_deflate should be part of the distribution.
Are there any issues with apache including zlib in the distribution?
Best regards,
Juan C. Rivera
Citrix Systems, Inc.
-Original Message-
From: Jeff Trawick [mailto:[EMAIL
Title: Custom Winnt MPM
I've been working on an async i/o mpm for Windows using IO completion ports.
I used the current winnt mpm as a starting point but I rather have it in it's own dll instead of linked directly in libhttpd.
My question is how do I configure Apache to use my mpm? Is it
, November 25, 2002 6:11 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Custom Winnt MPM
At 04:54 PM 11/25/2002, Brian Pane wrote:
On Mon, 2002-11-25 at 14:03, Juan Rivera wrote:
I've been working on an async i/o mpm for Windows using IO completion
ports.
I used the current winnt
Title: RE: request for comments: multiple-connections-per-thread MPM design
Brian,
Does your model assume that connections are short lived (HTTP)?
One problem with the current model is that if you implement, let's say mod_socks, it holds a connection per thread.
Is that something your
One
of the missing pieces in Apache 2 to support multiple protocols is the ability
to limit the number of connections per protocol.
Right
now you specify the max number of connections but there is no way to manage how
many connections a particular protocol can manage.
Anyways,
the
Title: Artificial delay on traffic
I wrote a SOCKS module for Apache 2. I started off with the proxy_connect code and added the SOCKS handshake plus the filter chain on the client socket. I use it to pass ICA traffic. The ICA protocol is a very chatty protocol; it sends very small packets
To: [EMAIL PROTECTED]
Subject: Re: Artificial delay on
traffic
Could it be TCP_CORK?
-aaron
On Thursday, February 13, 2003, at 12:14 PM, Juan
Rivera wrote:
I wrote a SOCKS module for Apache 2. I started off
with the proxy_connect code and added the SOCKS handshake plus the filter chain
Has
anybody looked into internationalizing Apache 2?
There
are a couple of areas like:
Messages
Error
pages
Multibyte/Unicode support
Anything else?
Is
this in the roadmap for Apache?
What
are the caveats of doing it?
Juan
I'm
starting to look into what would it takes to support UTF-8 in configuration
files. This means modules must have to handle parameters in UTF-8 format.
Anybody
has any pointers that can help me?
I
think making Apache UTF-8 compliant will be very helpful. Do you guys agree?
When
sending multiple buckets on a socket does writev and WSASend create a packet per buffer, or a single packet for
all buffers?
I
would assume the answer might depend on the Operating system or maybe the size
of the buffers. I'm interested in Windows 2000 and linux.
In
the socket_bucket_read function (apr_bucket_socket.c)
it reads from the socket using an 8K buffer.
Now,
if you only get 100 bytes, the rest of the buffer is wasted. Right?
I
guess HTTP typically gets large chucks of data at a time but when implementing
other protocols this 8K
Two ap_log_error calls had the "Child
%d" but no my_pid in the argument list.
This patch adds my_pid so that the
messages are displayed correctly.
Juan
child.c.patch
Description: Binary data
When should one use an EOS bucket vs. a FLUSH bucket?
Juan
To: [EMAIL PROTECTED]
Cc: '[EMAIL PROTECTED]'
Subject: Re: EOS or FLUSH buckets
At 04:29 PM 6/9/2003, Juan Rivera wrote:
When should one use an EOS bucket vs. a FLUSH bucket?
At EOS, that's all she wrote; body or connection finished, nothing
more, don't call me, and I won't call you.
So
] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 10, 2003 10:38 AM
To: [EMAIL PROTECTED]
Subject: Re: EOS or FLUSH buckets
Juan Rivera wrote:
Here is why I'm asking. I wrote a SOCKS proxy module. It has two
connection records, one for the client and one for the backend server.
When I received
PROTECTED]
Subject: Re: EOS or FLUSH buckets
Juan Rivera wrote:
Right, my module leaks memory because the core input and output filters
split the bucket brigades. So it keeps creating more and more bucket
brigades that are not released until the connection is gone.
When you see this, are we
Title: RE: [PATCH] Avoid unnecessary brigade splits on core input and output filters. WAS: EOS or FLUSH buckets
Cliff,
How would the code look like? I tried unsplicing from the first bucket to the bucket previous to e and then splicing it at the tail of b. But didn't work. I don't
Have you guys ever considered making the size of the socket
read buffer configurable (default is 8K)?
Juan
Title: RE: [PATCH] Avoid unnecessary brigade splits on core input and output filters. WAS: EOS or FLUSH buckets
Cliff,
Is your code assuming that b is empty? If so, I'm not sure we can make that assumption.
-Original Message-
From: Cliff Woolley [mailto:[EMAIL PROTECTED]]
Sent:
Title: RE: [PATCH] Avoid unnecessary brigade splits on core input and output
filters. WAS: EOS or FLUSH buckets
My bad, never mind. You are fixing up the
ctx-b pointers. I'm going to try it out.
-Original Message-
From: Juan Rivera
[mailto:[EMAIL PROTECTED]
Sent: Thursday
Title: [PATCH] EventLog display name patch
The current nt_eventlog implementation has the hardcoded Apache Service as the event log application name. This can be problematic if you have multiple instances of Apache running on the same box.
If, for instance, you register multiple apache
/httpd.conf:
-Original Message-
From: Juan Rivera
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003
10:59 AM
To: [EMAIL PROTECTED]
Subject: [PATCH] EventLog display
name patch
The current nt_eventlog implementation has the
hardcoded Apache Service as the event log
To: [EMAIL PROTECTED]
Subject: Re: [PATCH] EventLog display name patch
At 09:59 AM 6/18/2003, Juan Rivera wrote:
The current nt_eventlog implementation has the hardcoded Apache Service as the event log application name. This can be problematic if you have multiple instances of Apache running
Has anybody consider providing a hook to be called right
before shutting down the server?
This is the scenario: A module creates a thread during
initialization and then you want to close the thread during shutdown.
I figured this could be done by registering a destroy
function in a
Title: APR_BUCKET_BUFF_SIZE question
So currently Apache reads from the socket in APR_BUCKET_BUFF_SIZE chunks (8000 bytes by default)
This value is a compiled value and can not be changed or configure at runtime.
I was wondering if there is a particular reason not to make this
or a theoretical one?
-Original Message-
From: Cliff Woolley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 09, 2003 6:25 PM
To: '[EMAIL PROTECTED]'
Subject: Re: APR_BUCKET_BUFF_SIZE question
On Wed, 9 Jul 2003, Juan Rivera wrote:
That way a filter could ask for more or less bytes than
Title: RE: Message: winnt_accept: Asynchronous AcceptEx failed.
What are the circumstances for this to happen?
-Original Message-
From: Bill Stoddard [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 27, 2003 10:30 PM
To: [EMAIL PROTECTED]
Subject: Re: Message: winnt_accept:
Title: Scoreboard access rights on Windows
Does Apache set access rights in the scoreboard so that no other processes can write to it? I refer to named scoreboards using ScoreBoardFile.
Juan
Title: ErrorDocument and ProxyPass rules
I'm trying to figure out how you can configure ErrorDocument when using ProxyPass / http://webserver/
The problem is that if I use a URL like ErrorDocument 502 /error/502.html it will be proxied instead of picking the file locally.
Any suggestions
Title: Sync to CVS problem
Hi,
I have previously downloaded a copy of the Apache server code from the cvs repository using "anoncvs" login and CVSROOT=:pserver:[EMAIL PROTECTED]:/home/cvspublic.
However, I am unable to connect to the server for the past couple of days. I get the following
There
is a problem when calling apache -k restart. The issue is with permissions
set with the service control manager. It happens that Apache sends a user
define control code for restarting, signal 128. But when getting the handle of
the service it is not passing the flag to allow user
Igor,
You have to put the replace entries like this:
Proxy /someloc
Replace colour color text/html
SetOutputFilter REPLACE
/Proxy
ProxyPass /someloc http://Server/someloc
ProxyPassReverse /someloc http://Server/someloc
Best
41 matches
Mail list logo