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: [email protected]
          Reporter: [email protected]

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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to