RE: [users@httpd] TCP keepalive

2012-05-20 Thread Evgeny Shvidky
Hi, I tried to set KeepAlive directive to "On" but it doesn't help. Apache still doesn't send TCP keepalive messages. As I understand, KeepAlive directive enables a persistent connections but it doesn't influence on TCP keepalive. On which context Apache sends a TCP keepalive messages? Is it sent

[users@httpd] TCP keepalive

2012-05-15 Thread Evgeny Shvidky
Hi, I am developing a new module on C. In some cases, it takes to my module a long time to prepare a response (more than 2 minutes) and during this time a process handling this request is blocked. In order to prevent a TCP connection disconnect a user sends his HTTP request with TCP keepalive f

RE: [users@httpd] "Close" HTTP connection callback/hook

2012-05-13 Thread Evgeny Shvidky
r close request (before my module responded)? Thanks, Evgeny -Original Message- From: Nick Kew [mailto:n...@webthing.com] Sent: Sunday, May 13, 2012 10:55 PM To: users@httpd.apache.org Subject: Re: [users@httpd] "Close" HTTP connection callback/hook On 13 May 2012, at 16:30, Ev

[users@httpd] "Close" HTTP connection callback/hook

2012-05-13 Thread Evgeny Shvidky
Hi, I am implementing a new module on C. I need to perform some functionality when a user closes a HTTP connection before he received any response for his request. How can I know when a HTTP user request state has been changed/closed? Is there any callback/hook for this functionality I can regist

[users@httpd] GZip compression

2012-04-18 Thread Evgeny Shvidky
Hi, I am working on implementation in C of a new module for Apache proxy server. I want Apache to compress a response message content I create. I set a HTTP header "Content-Encoding" to gzip but nothing happens. Apache server doesn't perform compression. How can I cause Apache to compress my cont

RE: [users@httpd] How to set the http response code for an error message

2012-04-09 Thread Evgeny Shvidky
". Thanks, Evgeny -Original Message- From: Eric Covener [mailto:cove...@gmail.com] Sent: Monday, April 09, 2012 4:12 PM To: users@httpd.apache.org Subject: Re: [users@httpd] How to set the http response code for an error message On Mon, Apr 9, 2012 at 8:12 AM, Evgeny Shvidky wrote: > I h

[users@httpd] How to set the http response code for an error message

2012-04-09 Thread Evgeny Shvidky
Hi, I have a custom error message that I set into the request by "ap_rputs" function. Stillthe page returns http 200. How do I set it to a specific error code? Thanks, Evgeny

[users@httpd] HTTP Server header

2012-04-09 Thread Evgeny Shvidky
Hi, I am trying to set a "Server" http header to my value in "request->headers_out" field but after http response is transmitted I see that Apache changed "Server" header value to "Apache/2.4.1 (Unix) OpenSSL /1.0.0-fips". How can I configure Apache server not to set its own "Server" header? T

[users@httpd] WBXML extension

2012-04-08 Thread Evgeny Shvidky
Hi, I am implementing on "C" a new module in Apache HTTP server. I succeeded to receive an appropriate HTTP request by my module handler. Does Apache HTTP server support ms-sync.wbxml content encoding? Can I configure Apache server to encode content data automatically? If yes, can you provide ple

[users@httpd] Read HTTP header and body

2012-04-05 Thread Evgeny Shvidky
Hello, I am implementing on "C" a new module in Apache HTTP server. I succeeded to receive an appropriate HTTP request by my module handler. How can I read a full HTTP header (not only the first line) and a body (if exists) of received HTTP request? Thanks, Evgeny