Need information about Apache and Module development.

2011-03-30 Thread Arnab Ganguly
Dear All, We are planning for an enhancement of our servers.We are looking out if we write Apache module and use Apache to support the below requirements. We would like to use Apache as a routing layer that accepts both structured documents (XML docs) also some other predefined data blocks in

Re: blocking Upgrade

2011-03-30 Thread Roy T. Fielding
On Mar 29, 2011, at 11:16 PM, Greg Stein wrote: Do you have an internet draft spec for some context here? Is there a proposal for HTTP/2.0? websockets I might also argue that a directive is not the right answer here. Instead, I'd suggest that modules advertise their ability to consume

Re: blocking Upgrade

2011-03-30 Thread Graham Leggett
On 30 Mar 2011, at 10:49 AM, Roy T. Fielding wrote: On Mar 29, 2011, at 11:16 PM, Greg Stein wrote: Do you have an internet draft spec for some context here? Is there a proposal for HTTP/2.0? websockets In theory, over and above natively supporting websockets, it may be useful to teach

Re: Need information about Apache module development.

2011-03-30 Thread Mark Montague
dev@httpd.apache.org is for discussions related to development of httpd itself. Your questions below are more appropriate for the Third Party Module Authors' List. See http://httpd.apache.org/lists.html#modules-dev A rules execution engine that is able to accept the request, evaluate a

A timestamp for mod_log_forensic (?)

2011-03-30 Thread Christian Folini
Hi there, Mod_log_forensic is saving my day while debugging a crashing apache. But matching the right request with the crash and its corefile is difficult. Ideally the log would show me only the active requests at the moment the server died. But in my case things are a bit more difficult. The

Re: A timestamp for mod_log_forensic (?)

2011-03-30 Thread Graham Leggett
On 30 Mar 2011, at 3:23 PM, Christian Folini wrote: Mod_log_forensic is saving my day while debugging a crashing apache. But matching the right request with the crash and its corefile is difficult. Have you taken a look at Jeff's mod_whatkilledus?

Re: Need information about Apache and Module development.

2011-03-30 Thread Nick Kew
On 30 Mar 2011, at 13:59, Arnab Ganguly wrote: Dear All, You've posted this three times now, and it's still no clearer what you want. Either you're implementing something yourself, or you want to hire someone to do a job for you. If the latter then please say so! If the former, you need to

Re: blocking Upgrade

2011-03-30 Thread Roy T. Fielding
On Mar 30, 2011, at 12:32 PM, Graham Leggett wrote: On 30 Mar 2011, at 10:49 AM, Roy T. Fielding wrote: On Mar 29, 2011, at 11:16 PM, Greg Stein wrote: Do you have an internet draft spec for some context here? Is there a proposal for HTTP/2.0? websockets In theory, over and above

Re: blocking Upgrade

2011-03-30 Thread Graham Leggett
On 30 Mar 2011, at 3:53 PM, Roy T. Fielding wrote: No, websockets is not designed to work with intermediaries. There is no standard behavior beyond opening the connection, so connections through proxies should use CONNECT. Does a websocket client have a way of knowing it should use CONNECT?

Handling APR_HAS_LARGE_FILES

2011-03-30 Thread Ignaz Birnstingl
Hello, we are trying to develop a proprietary (i.e. closed-source, binary-shipped) Apache module and have run into troubles with binary incompatibilities because of APR_HAS_LARGE_FILES being either 0 or 1. I have only found http://osdir.com/ml/apache.apr.devel/2003-05/msg00028.html but this does

Re: blocking Upgrade

2011-03-30 Thread Roy T. Fielding
On Mar 30, 2011, at 4:11 PM, Graham Leggett wrote: On 30 Mar 2011, at 3:53 PM, Roy T. Fielding wrote: No, websockets is not designed to work with intermediaries. There is no standard behavior beyond opening the connection, so connections through proxies should use CONNECT. Does a

Re: Handling APR_HAS_LARGE_FILES

2011-03-30 Thread Ben Noordhuis
On Wed, Mar 30, 2011 at 16:25, Ignaz Birnstingl ign...@gmail.com wrote: we are trying to develop a proprietary (i.e. closed-source, binary-shipped) Apache module and have run into troubles with binary incompatibilities because of APR_HAS_LARGE_FILES being either 0 or 1. I have only found

Re: blocking Upgrade

2011-03-30 Thread Graham Leggett
On 30 Mar 2011, at 4:41 PM, Roy T. Fielding wrote: My guess is that it would if it were told to use a proxy for ws. Keep in mind that when I say proxy, I do not mean to include reverse proxy. A reverse proxy of websockets is just an implementation of websockets or a tunnel. I consider

Re: blocking Upgrade

2011-03-30 Thread Greg Stein
On Wed, Mar 30, 2011 at 11:08, Graham Leggett minf...@sharp.fm wrote: On 30 Mar 2011, at 4:41 PM, Roy T. Fielding wrote: My guess is that it would if it were told to use a proxy for ws. Keep in mind that when I say proxy, I do not mean to include reverse proxy. A reverse proxy of websockets

Re: blocking Upgrade

2011-03-30 Thread Graham Leggett
On 30 Mar 2011, at 5:48 PM, Greg Stein wrote: I think that Roy's point is simply that httpd would be nothing more than a socket-listener and tunnel. There is very little that it can bring to the table at that point, so it doesn't make a lot of sense to lump in websockets capabilities. In

Re: A timestamp for mod_log_forensic (?)

2011-03-30 Thread Christian Folini
On Wed, Mar 30, 2011 at 03:32:27PM +0200, Graham Leggett wrote: Have you taken a look at Jeff's mod_whatkilledus? http://people.apache.org/~trawick/exception_hook.html mod_whatkilledus will be one of the next steps in my debugging, if mod_forensic won't do. Still I think I could add a small

slotmem_plain slotmem consumers

2011-03-30 Thread Gregg L. Smith
Hello, It seems that slotmem_plain is not being found by the consumers which then causes a configuration error. Attached patch fixes this and makes the error message a little more friendlier for users by hinting to load slotmem which is currently not documented as a requirement of these

mod_watchdog crashes Apache on Windows

2011-03-30 Thread Gregg L. Smith
Hello, After r1070317 a block of code got moved below the block of Win32 debug code that starts now at line 447. The code that was above it is now just directly below but this has caused a crash on Windows for whatever reason (still unknown to me). The attached patch moves this block of