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

Mailing List Archive: Apache: Bugs

[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache

 

 

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


bugzilla at apache

Oct 26, 2009, 2:51 AM

Post #1 of 17 (1305 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |zeetaartpurf [at] yahoo

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Oct 26, 2009, 4:32 AM

Post #2 of 17 (1280 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #1 from Eric Covener <covener [at] gmail> 2009-10-26 04:32:36 UTC ---
Can you include logs, config, and a packet capture of the request that hangs?

What handler is generating the response? Does it matter for the bug?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Oct 26, 2009, 6:04 AM

Post #3 of 17 (1277 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

--- Comment #2 from zeetaartpurf [at] yahoo 2009-10-26 06:04:44 UTC ---
I noticed this error is somehow browser dependent as well:
I can process the request using Firefox on Mac and Windows, but I get no
response using Safari or Camino on Mac, nor using Internet Explorer 6 or 7.

The access log contains:
213.219.159.242 - - [26/Oct/2009:13:51:51 +0100] "GET /test-apache/submit2.html
HTTP/1.1" 200 532
when displaying the form, but no logs are present for processing the log.

The error log contains:
[Mon Oct 26 13:59:25 2009] [error] [client 213.219.159.242] request failed:
error reading the headers

When tunneling this through a TCP Monitor, it sends out:

POST /test-apache/submit2.html HTTP/1.1
Host: atmire.com
Accept:
application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; nl-nl)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9
Origin: http://localhost:5555
Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryOR8ylA8ZhAFLQNo4
Referer: http://localhost:5555/test-apache/submit2.html
Accept-Language: nl-nl
Accept-Encoding: gzip, deflate
Cookie:
__utma=111872281.626312053016873200.1229939867.1249466462.1255558105.14;
__utmz=111872281.1245708531.10.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Content-Length: 371
Connection: keep-alive

------WebKitFormBoundaryOR8ylA8ZhAFLQNo4
Content-Disposition: form-data; name="dc_title"

poste
------WebKitFormBoundaryOR8ylA8ZhAFLQNo4
Content-Disposition: form-data; name="bitstream_file_type5_file5"; filename=""


------WebKitFormBoundaryOR8ylA8ZhAFLQNo4
Content-Disposition: form-data; name="submit"

click me
------WebKitFormBoundaryOR8ylA8ZhAFLQNo4--

No response is received in the TCP monitor.

I am using an Apache server which is compiled from source, with as only changes
to the configurations:
* The SSL certificates (but this issue occurs while using HTTP)
* The mod_proxy configuration (but I'm explicitly not proxying this URL to
ensure this is unrelated)
* An SVN server (also hosted on a different path)


The file is currently being hosted at
http://atmire.com/test-apache/submit2.html

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Oct 28, 2009, 5:54 AM

Post #4 of 17 (1264 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 3:43 AM

Post #5 of 17 (1229 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

--- Comment #3 from zeetaartpurf [at] yahoo 2009-11-02 03:43:26 UTC ---
is there any extra info needed on this issue?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 4:21 AM

Post #6 of 17 (1215 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Dan Poirier <poirier [at] pobox> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #4 from Dan Poirier <poirier [at] pobox> 2009-11-02 04:21:53 UTC ---
What handler is generating the response?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 5:54 AM

Post #7 of 17 (1220 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--- Comment #5 from zeetaartpurf [at] yahoo 2009-11-02 05:54:45 UTC ---
The response is being generated by the default-handler.


To further display the issue, I have downloaded a clean apache installation
from http://apache.belnet.be/httpd/httpd-2.2.14.tar.gz
I have installed this on a Fedora Linux testserver (2.6.26.8-57.fc8)
I did not change anything at all to the configuration.
and included the test file to:
http://83.101.20.42/submit2.html

The click-me button still only works in firefox.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 6:41 AM

Post #8 of 17 (1214 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Dan Poirier <poirier [at] pobox> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID

--- Comment #6 from Dan Poirier <poirier [at] pobox> 2009-11-02 06:41:37 UTC ---
The default handler doesn't handle POST requests. (What would you expect it to
do with it?) You need to have something set up to handle the POST request.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 7:30 AM

Post #9 of 17 (1219 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |

--- Comment #7 from zeetaartpurf [at] yahoo 2009-11-02 07:30:10 UTC ---
In the original issue we had, we used mod_proxy for forwarding the request to
an apache tomcat webserver.
The request didn't arrive at the apache tomcat if the string "poste" was
included somewhere, while the apache HTTPD returned a time-out from the apache
tomcat.
The request did get processed immediately if the string "poste" was not
included.

In order to pin down the exact issue, I've removed the apache tomcat and
mod_proxy from the process.
This is why I tried making a simple static html page instead.
I know POST methods aren't the most logical thing to do for retrieving a static
HTML, but the same POST method works if you would change the textfield to any
other word not containing "poste".
So because of this, I assumed that apache had a default handler for this in a
standard clean installation.

Because the same word seems to trigger the same issue, either when proxying
requests to an apache tomcat, or when apache httpd is handling the request, I
am assuming this is related to apache HTTPD.

I am not an apache HTTPD specialist, so any hints in what I can do to further
explain, or of course solve, the issue are welcome.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 8:13 AM

Post #10 of 17 (1215 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Dan Poirier <poirier [at] pobox> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |NEEDINFO

--- Comment #8 from Dan Poirier <poirier [at] pobox> 2009-11-02 08:13:16 UTC ---
I assume the request shown above is one that did not work. What does a request
look like that does work?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 8:44 AM

Post #11 of 17 (1209 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

--- Comment #9 from Eric Covener <covener [at] gmail> 2009-11-02 08:43:59 UTC ---
are you using anything like mod_security when it actually fails?

What does the example URL do when it does or doesn't work?

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 8:52 AM

Post #12 of 17 (1225 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--- Comment #10 from zeetaartpurf [at] yahoo 2009-11-02 08:52:48 UTC ---
I am not using mod_security, I have even used a default installation of apache
without any changes to the configuration, or without any extra modules to
ensure this issue wasn't related to any external applications, or to any
configuration settings.


When tunneling a working request through a TCP monitor, I send the request:



POST /test-apache/submit2.html HTTP/1.1
Host: atmire.com
Accept:
application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; nl-nl)
AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9
Origin: http://localhost:5555
Content-Type: multipart/form-data;
boundary=----WebKitFormBoundaryVyCKgwIrA86n1Acg
Referer: http://localhost:5555/test-apache/submit2.html
Accept-Language: nl-nl
Accept-Encoding: gzip, deflate
Cookie:
__utma=111872281.626312053016873200.1229939867.1255558105.1256668835.15;
__utmz=111872281.1245708531.10.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)
Content-Length: 393
Connection: keep-alive

------WebKitFormBoundaryVyCKgwIrA86n1Acg
Content-Disposition: form-data; name="dc_title"

testing with a working page
------WebKitFormBoundaryVyCKgwIrA86n1Acg
Content-Disposition: form-data; name="bitstream_file_type5_file5"; filename=""


------WebKitFormBoundaryVyCKgwIrA86n1Acg
Content-Disposition: form-data; name="submit"

click me
------WebKitFormBoundaryVyCKgwIrA86n1Acg--



And I receive the response:



HTTP/1.1 200 OK
Date: Mon, 02 Nov 2009 16:42:44 GMT
Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.7a DAV/2 SVN/1.6.5
Last-Modified: Mon, 26 Oct 2009 12:35:20 GMT
ETag: "38f934-214-476d5cb6ef200"
Accept-Ranges: bytes
Content-Length: 532
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://info.togather.eu/togather-test/DTD/xhtml1-transitional.dtd">

<html>
<head>
</head>


<body id="body" class="body">

<div id="wrapper">


<form action="submit2.html" method="post" name="edit_metadata"
enctype="multipart/form-data">

<input type="text" name="dc_title" value="poste"/>

<input type="file" name="bitstream_file_type5_file5"/>
<input type="submit" name="submit" value="click me"/>

</form>

</div>

</body>
</html>



Which is simply a display of the test page.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 2, 2009, 8:57 AM

Post #13 of 17 (1214 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Dan Poirier <poirier [at] pobox> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #11 from Dan Poirier <poirier [at] pobox> 2009-11-02 08:57:50 UTC ---
No, I meant what does a request including "poste" look like when it's sent from
a browser where it works.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 3, 2009, 5:51 AM

Post #14 of 17 (1196 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--- Comment #12 from zeetaartpurf [at] yahoo 2009-11-03 05:51:20 UTC ---
When posting the same request from firefox, the browser sends:



Host 83.101.20.42
User-Agent Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; nl; rv:1.9.1.4)
Gecko/20091016 Firefox/3.5.4
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language fr,nl;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding gzip,deflate
Accept-Charset UTF-8,*
Keep-Alive 300
Connection keep-alive
Referer http://83.101.20.42/submit2.html
Cookie
__utma=128795845.2825047967790454000.1237476472.1254843661.1254850172.45;
__utmz=128795845.1254838596.43.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)

Content-Type: multipart/form-data;
boundary=---------------------------161692722414377846301360280366
Content-Length: 487

-----------------------------161692722414377846301360280366
Content-Disposition: form-data; name="dc_title"

poste
-----------------------------161692722414377846301360280366
Content-Disposition: form-data; name="bitstream_file_type5_file5"; filename=""
Content-Type: application/octet-stream


-----------------------------161692722414377846301360280366
Content-Disposition: form-data; name="submit"

click me
-----------------------------161692722414377846301360280366--



And I get an immediate answer which is the contents of the webpage at
http://83.101.20.42/submit2.html

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 3, 2009, 6:29 AM

Post #15 of 17 (1191 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #13 from Eric Covener <covener [at] gmail> 2009-11-03 06:29:49 UTC ---
When I use IE, the post is split into two TCP packets and the 2nd one is
retransmitted over and over. The host Apache is running on has not acknowledged
it, presumably because some intermedia is intercepting the packet and dropping
it.

If the host doesn't even see it, Apache has no change of reading it and
completing the request.

Can you show a binary, unformatted, unlimited capture-length packet capture on
the Apache system that shows all the bytes arriving? If not, there's no Apache
bug.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 3, 2009, 10:22 AM

Post #16 of 17 (1186 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

zeetaartpurf [at] yahoo changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW

--- Comment #14 from zeetaartpurf [at] yahoo 2009-11-03 10:22:40 UTC ---
I can indeed see packages being retransmitted by internet explorer, while none
of these package can be detected on the server.
Although I still can't see what is causing this issue, I do understand that
it's not an Apache issue.

Thank you for the great assistance.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd


bugzilla at apache

Nov 3, 2009, 10:50 AM

Post #17 of 17 (1179 views)
Permalink
[Bug 48056] submitting a multipart form over http containing a text field with the string "poste" results in a timeout on apache [In reply to]

https://issues.apache.org/bugzilla/show_bug.cgi?id=48056

Eric Covener <covener [at] gmail> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID

--- Comment #15 from Eric Covener <covener [at] gmail> 2009-11-03 10:50:23 UTC ---
marking invalid, please reset status if the guilt swings back to Apache.

--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

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


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.