Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_proxy: Proxy sends double requests to backend server

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


megabrutal at gmail

Jun 27, 2008, 8:54 AM

Post #1 of 2 (83 views)
Permalink
mod_proxy: Proxy sends double requests to backend server

Hi all,

I've encountered a very strange problem. I wanted to configure a
proxy, but for some reason, it sends request twice to the backend
server, and it usually results in a "400 Bad Request" response.

With a program, I've recorded an example of a dummy request.
17:39:37 < GET / HTTP/1.1
17:39:37 < Host: xxxxxx.no-ip.com:8033
17:39:37 < User-Agent: putty
17:39:37 < Connection: Keep-Alive
17:39:37 < GET / HTTP/1.1
17:39:37 < Host: xxxxxx.no-ip.com:8033
17:39:37 < User-Agent: putty
17:39:37 < Connection: Keep-Alive

I've triggered this by sending this request to the proxy:
GET http://xxxxxx.no-ip.com:8033/ HTTP/1.0
Host: xxxxxx.no-ip.com
User-Agent: putty


Some data of my Apache:
Apache version: 2.2.8 *
Platform: Win32
Trird-party module used: PHP/5.2.6

I even shown my config to a guy on the Freenode IRC channel, and he
said my config is right, and he also wondered the problem. So I. Does
someone have an idea what may cause this?

* I've seen the changelog for 2.2.9, but it doesn't mention a fix for
such a bug, so I didn't see point in upgrading right now.

Thanks,
MegaBrutal

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


megabrutal at gmail

Jun 30, 2008, 5:22 AM

Post #2 of 2 (66 views)
Permalink
Re: mod_proxy: Proxy sends double requests to backend server [In reply to]

Nobody has idea what may cause this problem I've described? Has
anybody encountered something similar?

2008/6/27 MegaBrutal <megabrutal[at]gmail.com>:
> Hi all,
>
> I've encountered a very strange problem. I wanted to configure a
> proxy, but for some reason, it sends request twice to the backend
> server, and it usually results in a "400 Bad Request" response.
>
> With a program, I've recorded an example of a dummy request.
> 17:39:37 < GET / HTTP/1.1
> 17:39:37 < Host: xxxxxx.no-ip.com:8033
> 17:39:37 < User-Agent: putty
> 17:39:37 < Connection: Keep-Alive
> 17:39:37 < GET / HTTP/1.1
> 17:39:37 < Host: xxxxxx.no-ip.com:8033
> 17:39:37 < User-Agent: putty
> 17:39:37 < Connection: Keep-Alive
>
> I've triggered this by sending this request to the proxy:
> GET http://xxxxxx.no-ip.com:8033/ HTTP/1.0
> Host: xxxxxx.no-ip.com
> User-Agent: putty
>
>
> Some data of my Apache:
> Apache version: 2.2.8 *
> Platform: Win32
> Trird-party module used: PHP/5.2.6
>
> I even shown my config to a guy on the Freenode IRC channel, and he
> said my config is right, and he also wondered the problem. So I. Does
> someone have an idea what may cause this?
>
> * I've seen the changelog for 2.2.9, but it doesn't mention a fix for
> such a bug, so I didn't see point in upgrading right now.
>
> Thanks,
> MegaBrutal
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.