You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/08/16 02:05:18 UTC
[Bug 55426] New: Apache closes connection before sending webdav html
response
https://issues.apache.org/bugzilla/show_bug.cgi?id=55426
Bug ID: 55426
Summary: Apache closes connection before sending webdav html
response
Product: Apache httpd-2
Version: 2.4.4
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Other Modules
Assignee: bugs@httpd.apache.org
Reporter: luizflaviorojo@gmail.com
General apache version 2.4 using webdav module closes connection before sending
the webdav html response after a PUT action.
Making the same action on apache 2.0 the connection closes after the html
response, as shown below:
Apache 2.0.59
[root@aserver lrojo]# curl -I -T /etc/passwd http://url/0/teste60 --verbose
* About to connect() to url port 80 (#0)
* Trying 10.129.138.57... connected
* Connected to url (10.129.138.57) port 80 (#0)
> PUT /0/teste60 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.12.7.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> Host: url
> Accept: */*
> Content-Length: 11795
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue
< HTTP/1.1 201 Created
HTTP/1.1 201 Created
< Date: Fri, 16 Aug 2013 00:00:20 GMT
Date: Fri, 16 Aug 2013 00:00:20 GMT
< Server: Apache/2.0.59 (Unix) DAV/2
Server: Apache/2.0.59 (Unix) DAV/2
< Location: http://url/0/teste60
Location: http://url/0/teste60
< Cache-Control: max-age=2592000, public
Cache-Control: max-age=2592000, public
< Expires: Fri, 16 Aug 2013 00:00:20 GMT
Expires: Fri, 16 Aug 2013 00:00:20 GMT
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< Pragma: no-cache
Pragma: no-cache
< Pragma: no-store
Pragma: no-store
< Content-Length: 182
Content-Length: 182
< Connection: close
Connection: close
< Content-Type: text/html
Content-Type: text/html
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>201 Created</title>
</head><body>
<h1>Created</h1>
<p>Resource /0/teste60 has been created.</p>
</body></html>
* Closing connection #0
Apache 2.4
[root@a2-zencodex1 lrojo]# curl -I -T /etc/passwd http://url/0/teste60
--verbose
* About to connect() to url port 80 (#0)
* Trying 10.129.138.73... connected
* Connected to url (10.129.138.73) port 80 (#0)
> PUT /0/teste60 HTTP/1.1
> User-Agent: curl/7.19.7 (x86_64-unknown-linux-gnu) libcurl/7.19.7 NSS/3.12.7.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2
> Host: url
> Accept: */*
> Content-Length: 11795
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
HTTP/1.1 100 Continue
< HTTP/1.1 201 Created
HTTP/1.1 201 Created
< Date: Thu, 15 Aug 2013 23:59:47 GMT
Date: Thu, 15 Aug 2013 23:59:47 GMT
< Server: Apache
Server: Apache
< Location: http://url/0/teste60
Location: http://url/0/teste60
< Cache-Control: max-age=2592000, public
Cache-Control: max-age=2592000, public
< Expires: Thu, 15 Aug 2013 23:59:47 GMT
Expires: Thu, 15 Aug 2013 23:59:47 GMT
< X-Content-Type-Options: nosniff
X-Content-Type-Options: nosniff
< Pragma: no-cache
Pragma: no-cache
< Pragma: no-store
Pragma: no-store
< Content-Length: 71
Content-Length: 71
< Content-Type: text/html; charset=ISO-8859-1
Content-Type: text/html; charset=ISO-8859-1
<
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
* Connection #0 to host url left intact
* Closing connection #0
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 55426] Apache closes connection before sending webdav html
response
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55426
--- Comment #3 from Yann Ylavic <yl...@gmail.com> ---
Backported to 2.4.11 in r1634519.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 55426] Apache closes connection before sending webdav html
response
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55426
jkaluza@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from jkaluza@redhat.com ---
Fixed in r1527509
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 55426] Apache closes connection before sending webdav html
response
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55426
--- Comment #1 from jkaluza@redhat.com ---
I've been able to reproduce this problem and it's caused by this commit:
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/dav/main/mod_dav.c?r1=332306&r2=377292&diff_format=h
Reverting this commit fixes this bug.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org