> > As for ABI compatibility, the clients of the library should never
> > have used its md5 implementation anyway, should they have?
>
> Yes, it's used by at least one neon-based application (sitecopy).

At least, there is no sitecopy_md5... :-( Every other package seems to come 
with their own reimplementation these days.

> > I was hoping, it would make long_line_chunked run quicker. I don't
> > think, it helped though :-( Any better way to speed that test up?
>
> Not sure if it's possible without losing the ability to reliably test
> the code.

I'd like to turn automatic post-build testing ON in the FreeBSD port. With 
this single test taking so long, users may revolt and force turning it 
off :-(

> > = test/request.c: that code triggered a real bug which was fixed recently
> >
> > Can we have a patch, please? Or is 0.25.4 going to be out in a few days?
>
> The patch is r729 in the SVN repos
> (http://svn.webdav.org/repos/projects/neon/trunk) - I might be able to
> do a new release that soon, not sure.

I've never used subversion -- can you, please, provide direct link to the 
patch?

> > I changed the begin() in the process of investigating the write_reset
> > failure in the non-SSL case. It expects reset, but was getting EPIPE
> > instead. I had to modify the write_reset() itself...
>
> This is a failure to simulate an RST; it needs more work rather than the
> workaround.  (it's not a regression since 0.24.x, which had the same
> problem in the test suite)

Understood. But I did not want the test to fail on a _known_ problem...

> > = test/lock.c: what was the problem? needs further diagnosis.
> >
> > Don't know -- the server was closing connection instead of rejecting
> > authentication...
>
> Please supply the debug.log and child.log produced from running:
>
>   make check TESTS=lock

Attached.

> > = The hostname munging could probably be rewritten using sed and be
> > = really portable.

> I've committed the changes to use sed and \0NNN literals; thanks.

Thanks.

        -mi
**** Child forked for test if_simple ****
Discarding request...
[req] RANDOM /foo HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] If: <http://localhost:7777/foo> (<somelocktoken>)
Verified If header, 1: got [<http://localhost:7777/foo> (<somelocktoken>)] expected [<http://localhost:7777/foo> (<somelocktoken>)]
[req] 
Sending: HTTP/1.1 200 OK

Sending: Connection: close


**** Child forked for test if_under_infinite ****
Discarding request...
[req] RANDOM /foo/bar HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] If: <http://localhost:7777/foo> (<somelocktoken>)
Verified If header, 1: got [<http://localhost:7777/foo> (<somelocktoken>)] expected [<http://localhost:7777/foo> (<somelocktoken>)]
[req] 
Sending: HTTP/1.1 200 OK

Sending: Connection: close


**** Child forked for test if_infinite_over ****
Discarding request...
[req] RANDOM /foo/ HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] Depth: infinity
[req] If: <http://localhost:7777/foo/bar> (<somelocktoken>)
Verified If header, 1: got [<http://localhost:7777/foo/bar> (<somelocktoken>)] expected [<http://localhost:7777/foo/bar> (<somelocktoken>)]
[req] 
Sending: HTTP/1.1 200 OK

Sending: Connection: close


**** Child forked for test if_child ****
Discarding request...
[req] RANDOM /foo/bar HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] If: <http://localhost:7777/foo/> (<somelocktoken>)
Verified If header, 1: got [<http://localhost:7777/foo/> (<somelocktoken>)] expected [<http://localhost:7777/foo/> (<somelocktoken>)]
[req] 
Sending: HTTP/1.1 200 OK

Sending: Connection: close


**** Child forked for test if_covered_child ****
Discarding request...
[req] RANDOM /foo/bar HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] If: <http://localhost:7777/> (<somelocktoken>)
Verified If header, 1: got [<http://localhost:7777/> (<somelocktoken>)] expected [<http://localhost:7777/> (<somelocktoken>)]
[req] 
Sending: HTTP/1.1 200 OK

Sending: Connection: close


**** Child forked for test lock_timeout ****
Discarding request...
[req] LOCK /foo HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] Content-Length: 145
[req] Content-Type: application/xml
[req] Depth: 0
[req] Timeout: Second-5
[req] 
Discarding 145 bytes.
Got 145 bytes.
Discard successful.
Sending: HTTP/1.1 200 OK
Server: neon-test-server
Lock-Token: <opaquelocktoken:foo>
Connection: close

<?xml version="1.0" encoding="utf-8"?>
<D:prop xmlns:D="DAV:"><D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>me</D:owner>
<D:timeout>Second-6500</D:timeout>
<D:locktoken><D:href>opaquelocktoken:foo</D:href></D:locktoken>
</D:activelock></D:lockdiscovery></D:prop>

**** Child forked for test lock_shared ****
Discarding request...
[req] LOCK /beta HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] Content-Length: 145
[req] Content-Type: application/xml
[req] Depth: 0
[req] 
Discarding 145 bytes.
Got 145 bytes.
Discard successful.
Sending: HTTP/1.1 200 OK
Server: neon-test-server
Lock-Token: <opaquelocktoken:beta>
Connection: close

<?xml version="1.0" encoding="utf-8"?>
<D:prop xmlns:D="DAV:"><D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>owner alpha</D:owner>
<D:timeout>Second-100</D:timeout>
<D:locktoken><D:href>opaquelocktoken:alpha</D:href></D:locktoken>
</D:activelock><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>owner beta</D:owner>
<D:timeout>Second-200</D:timeout>
<D:locktoken><D:href>opaquelocktoken:beta</D:href></D:locktoken>
</D:activelock></D:lockdiscovery></D:prop>
**** Child forked for test discover ****
Discarding request...
[req] PROPFIND /lockme HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] Depth: 0
[req] Content-Length: 122
[req] Content-Type: application/xml
[req] 
Sending: HTTP/1.0 207 OK
Connection: close


Sending: <?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D='DAV:'>
<D:response><D:href>/lockme</D:href><D:propstat>
<D:prop><D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>someowner</D:owner>
<D:timeout>Second-7200</D:timeout>
<D:locktoken><D:href>sometoken</D:href></D:locktoken>
</D:activelock></D:lockdiscovery></D:prop>
<D:status>HTTP/1.1 200 OK</D:status></D:propstat>
</D:response></D:multistatus>

**** Child forked for test fail_discover ****
Discarding request...
[req] PROPFIND /foo HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] Depth: 0
[req] Content-Length: 122
[req] Content-Type: application/xml
[req] 
Discarding 122 bytes.
Got 122 bytes.
Discard successful.
Sending: HTTP/1.0 207 OK
Connection: close

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D='DAV:'>
<D:response><D:href>/foo/bar</D:href><D:propstat>
</parse this, my friend>

**** Child forked for test fail_lockauth ****
Discarding request...
[req] LOCK /foo HTTP/1.1
[req] Host: localhost:7777
[req] Keep-Alive: 
[req] Connection: TE, Keep-Alive
[req] TE: trailers
[req] Content-Length: 145
[req] Content-Type: application/xml
[req] Depth: 0
[req] 
Discarding 145 bytes.
Got 145 bytes.
Discard successful.
Sending: HTTP/1.1 401 Auth Denied
WWW-Authenticate: Basic realm="[EMAIL PROTECTED]"
Content-Length: 0

HTTP/1.1 401 Auth Denied
WWW-Authenticate: Basic realm="[EMAIL PROTECTED]"
Connection: close


Version string: neon 0.25.3: Library build, IPv6, Expat 1.95.8, zlib 1.2.2, OpenSSL 0.9.7e 25 Oct 2004.
******* Running test 0: lookup_localhost ********
******* Running test 1: store_single ********
******* Running test 2: store_several ********
******* Running test 3: if_simple ********
HTTP session to http://localhost:7777 begins.
Has direct lock: somelocktoken
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
RANDOM /foo HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
If: <http://localhost:7777/foo> (<somelocktoken>)

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
Running post_send hooks
Closing connection.
Connection closed.
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 4: if_under_infinite ********
HTTP session to http://localhost:7777 begins.
Is child of: somelocktoken
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
RANDOM /foo/bar HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
If: <http://localhost:7777/foo> (<somelocktoken>)

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
Running post_send hooks
Closing connection.
Connection closed.
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 5: if_infinite_over ********
HTTP session to http://localhost:7777 begins.
Has child: somelocktoken
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
RANDOM /foo/ HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Depth: infinity
If: <http://localhost:7777/foo/bar> (<somelocktoken>)

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
Running post_send hooks
Closing connection.
Connection closed.
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 6: if_child ********
HTTP session to http://localhost:7777 begins.
Locked parent, somelocktoken on /foo/
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
RANDOM /foo/bar HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
If: <http://localhost:7777/foo/> (<somelocktoken>)

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
Running post_send hooks
Closing connection.
Connection closed.
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 7: if_covered_child ********
HTTP session to http://localhost:7777 begins.
Locked parent, somelocktoken on /
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
RANDOM /foo/bar HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
If: <http://localhost:7777/> (<somelocktoken>)

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
Running post_send hooks
Closing connection.
Connection closed.
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 8: lock_timeout ********
HTTP session to http://localhost:7777 begins.
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
LOCK /foo HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 145
Content-Type: application/xml
Depth: 0
Timeout: Second-5

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Sending request body:
Body block (145 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<lockinfo xmlns='DAV:'>
 <lockscope><exclusive/></lockscope>
<locktype><write/></locktype></lockinfo>
]
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Server: neon-test-server
Header Name: [server], Value: [neon-test-server]
[hdr] Lock-Token: <opaquelocktoken:foo>
Header Name: [lock-token], Value: [<opaquelocktoken:foo>]
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 8000 bytes of response body.
Got 357 bytes.
Read block (357 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:prop xmlns:D="DAV:"><D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>me</D:owner>
<D:timeout>Second-6500</D:timeout>
<D:locktoken><D:href>opaquelocktoken:foo</D:href></D:locktoken>
</D:activelock></D:lockdiscovery></D:prop>
]
XML: Parsing 357 bytes.
lk_startelm: prop => 50
lk_startelm: Finding token opaquelocktoken:foo
XML: start-element (0, {DAV:, prop}) => 50
lk_startelm: lockdiscovery => 266
XML: start-element (50, {DAV:, lockdiscovery}) => 266
lk_startelm: activelock => 267
XML: start-element (266, {DAV:, activelock}) => 267
XML: char-data (267) returns 0
lk_startelm: locktype => 269
XML: start-element (267, {DAV:, locktype}) => 269
lk_startelm: write => 275
XML: start-element (269, {DAV:, write}) => 275
XML: end-element (275, {DAV:, write})
XML: end-element (269, {DAV:, locktype})
XML: char-data (267) returns 0
lk_startelm: lockscope => 268
XML: start-element (267, {DAV:, lockscope}) => 268
lk_startelm: exclusive => 276
XML: start-element (268, {DAV:, exclusive}) => 276
XML: end-element (276, {DAV:, exclusive})
XML: end-element (268, {DAV:, lockscope})
XML: char-data (267) returns 0
lk_startelm: depth => 270
XML: start-element (267, {DAV:, depth}) => 270
XML: char-data (270) returns 0
Got depth: 0
XML: end-element (270, {DAV:, depth})
XML: char-data (267) returns 0
lk_startelm: owner => 271
XML: start-element (267, {DAV:, owner}) => 271
XML: char-data (271) returns 0
XML: end-element (271, {DAV:, owner})
XML: char-data (267) returns 0
lk_startelm: timeout => 272
XML: start-element (267, {DAV:, timeout}) => 272
XML: char-data (272) returns 0
Got timeout: Second-6500
XML: end-element (272, {DAV:, timeout})
XML: char-data (267) returns 0
lk_startelm: locktoken => 273
XML: start-element (267, {DAV:, locktoken}) => 273
lk_startelm: href => 278
XML: start-element (273, {DAV:, href}) => 278
XML: char-data (278) returns 0
XML: end-element (278, {DAV:, href})
XML: end-element (273, {DAV:, locktoken})
XML: char-data (267) returns 0
XML: end-element (267, {DAV:, activelock})
XML: end-element (266, {DAV:, lockdiscovery})
XML: end-element (50, {DAV:, prop})
XML: XML_Parse returned 1
Reading 8000 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
XML: End of document.
XML: XML_Parse returned 1
Running post_send hooks
Closing connection.
Connection closed.
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 9: lock_shared ********
HTTP session to http://localhost:7777 begins.
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
LOCK /beta HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 145
Content-Type: application/xml
Depth: 0

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Sending request body:
Body block (145 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<lockinfo xmlns='DAV:'>
 <lockscope><exclusive/></lockscope>
<locktype><write/></locktype></lockinfo>
]
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Server: neon-test-server
Header Name: [server], Value: [neon-test-server]
[hdr] Lock-Token: <opaquelocktoken:beta>
Header Name: [lock-token], Value: [<opaquelocktoken:beta>]
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 8000 bytes of response body.
Got 624 bytes.
Read block (624 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:prop xmlns:D="DAV:"><D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>owner alpha</D:owner>
<D:timeout>Second-100</D:timeout>
<D:locktoken><D:href>opaquelocktoken:alpha</D:href></D:locktoken>
</D:activelock><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>owner beta</D:owner>
<D:timeout>Second-200</D:timeout>
<D:locktoken><D:href>opaquelocktoken:beta</D:href></D:locktoken>
</D:activelock></D:lockdiscovery></D:prop>]
XML: Parsing 624 bytes.
lk_startelm: prop => 50
lk_startelm: Finding token opaquelocktoken:beta
XML: start-element (0, {DAV:, prop}) => 50
lk_startelm: lockdiscovery => 266
XML: start-element (50, {DAV:, lockdiscovery}) => 266
lk_startelm: activelock => 267
XML: start-element (266, {DAV:, activelock}) => 267
XML: char-data (267) returns 0
lk_startelm: locktype => 269
XML: start-element (267, {DAV:, locktype}) => 269
lk_startelm: write => 275
XML: start-element (269, {DAV:, write}) => 275
XML: end-element (275, {DAV:, write})
XML: end-element (269, {DAV:, locktype})
XML: char-data (267) returns 0
lk_startelm: lockscope => 268
XML: start-element (267, {DAV:, lockscope}) => 268
lk_startelm: exclusive => 276
XML: start-element (268, {DAV:, exclusive}) => 276
XML: end-element (276, {DAV:, exclusive})
XML: end-element (268, {DAV:, lockscope})
XML: char-data (267) returns 0
lk_startelm: depth => 270
XML: start-element (267, {DAV:, depth}) => 270
XML: char-data (270) returns 0
Got depth: 0
XML: end-element (270, {DAV:, depth})
XML: char-data (267) returns 0
lk_startelm: owner => 271
XML: start-element (267, {DAV:, owner}) => 271
XML: char-data (271) returns 0
XML: end-element (271, {DAV:, owner})
XML: char-data (267) returns 0
lk_startelm: timeout => 272
XML: start-element (267, {DAV:, timeout}) => 272
XML: char-data (272) returns 0
Got timeout: Second-100
XML: end-element (272, {DAV:, timeout})
XML: char-data (267) returns 0
lk_startelm: locktoken => 273
XML: start-element (267, {DAV:, locktoken}) => 273
lk_startelm: href => 278
XML: start-element (273, {DAV:, href}) => 278
XML: char-data (278) returns 0
XML: end-element (278, {DAV:, href})
XML: end-element (273, {DAV:, locktoken})
XML: char-data (267) returns 0
XML: end-element (267, {DAV:, activelock})
lk_startelm: activelock => 267
XML: start-element (266, {DAV:, activelock}) => 267
XML: char-data (267) returns 0
lk_startelm: locktype => 269
XML: start-element (267, {DAV:, locktype}) => 269
lk_startelm: write => 275
XML: start-element (269, {DAV:, write}) => 275
XML: end-element (275, {DAV:, write})
XML: end-element (269, {DAV:, locktype})
XML: char-data (267) returns 0
lk_startelm: lockscope => 268
XML: start-element (267, {DAV:, lockscope}) => 268
lk_startelm: exclusive => 276
XML: start-element (268, {DAV:, exclusive}) => 276
XML: end-element (276, {DAV:, exclusive})
XML: end-element (268, {DAV:, lockscope})
XML: char-data (267) returns 0
lk_startelm: depth => 270
XML: start-element (267, {DAV:, depth}) => 270
XML: char-data (270) returns 0
Got depth: 0
XML: end-element (270, {DAV:, depth})
XML: char-data (267) returns 0
lk_startelm: owner => 271
XML: start-element (267, {DAV:, owner}) => 271
XML: char-data (271) returns 0
XML: end-element (271, {DAV:, owner})
XML: char-data (267) returns 0
lk_startelm: timeout => 272
XML: start-element (267, {DAV:, timeout}) => 272
XML: char-data (272) returns 0
Got timeout: Second-200
XML: end-element (272, {DAV:, timeout})
XML: char-data (267) returns 0
lk_startelm: locktoken => 273
XML: start-element (267, {DAV:, locktoken}) => 273
lk_startelm: href => 278
XML: start-element (273, {DAV:, href}) => 278
XML: char-data (278) returns 0
XML: end-element (278, {DAV:, href})
XML: end-element (273, {DAV:, locktoken})
XML: char-data (267) returns 0
XML: end-element (267, {DAV:, activelock})
XML: end-element (266, {DAV:, lockdiscovery})
XML: end-element (50, {DAV:, prop})
XML: XML_Parse returned 1
Reading 8000 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
XML: End of document.
XML: XML_Parse returned 1
Running post_send hooks
Closing connection.
Connection closed.
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 10: discover ********
HTTP session to http://localhost:7777 begins.
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
PROPFIND /lockme HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Depth: 0
Content-Length: 122
Content-Type: application/xml

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Sending request body:
Body block (122 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<lockdiscovery xmlns="DAV:"/>
</prop></propfind>
]
Request sent; retry is 0.
[status-line] < HTTP/1.0 207 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got 499 bytes.
Read block (499 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D='DAV:'>
<D:response><D:href>/lockme</D:href><D:propstat>
<D:prop><D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner>someowner</D:owner>
<D:timeout>Second-7200</D:timeout>
<D:locktoken><D:href>sometoken</D:href></D:locktoken>
</D:activelock></D:lockdiscovery></D:prop>
<D:status>HTTP/1.1 200 OK</D:status></D:propstat>
</D:response></D:multistatus>
]
XML: Parsing 499 bytes.
XML: start-element (0, {DAV:, multistatus}) => 1
XML: char-data (1) returns 0
XML: start-element (1, {DAV:, response}) => 2
XML: start-element (2, {DAV:, href}) => 4
XML: char-data (4) returns 0
XML: end-element (4, {DAV:, href})
XML: start-element (2, {DAV:, propstat}) => 7
XML: char-data (7) returns 0
XML: start-element (7, {DAV:, prop}) => 50
XML: start-element (50, {DAV:, lockdiscovery}) => 266
XML: start-element (266, {DAV:, activelock}) => 267
XML: char-data (267) returns 0
XML: start-element (267, {DAV:, locktype}) => 269
XML: start-element (269, {DAV:, write}) => 275
XML: end-element (275, {DAV:, write})
XML: end-element (269, {DAV:, locktype})
XML: char-data (267) returns 0
XML: start-element (267, {DAV:, lockscope}) => 268
XML: start-element (268, {DAV:, exclusive}) => 276
XML: end-element (276, {DAV:, exclusive})
XML: end-element (268, {DAV:, lockscope})
XML: char-data (267) returns 0
XML: start-element (267, {DAV:, depth}) => 270
XML: char-data (270) returns 0
Got depth: 0
XML: end-element (270, {DAV:, depth})
XML: char-data (267) returns 0
XML: start-element (267, {DAV:, owner}) => 271
XML: char-data (271) returns 0
XML: end-element (271, {DAV:, owner})
XML: char-data (267) returns 0
XML: start-element (267, {DAV:, timeout}) => 272
XML: char-data (272) returns 0
Got timeout: Second-7200
XML: end-element (272, {DAV:, timeout})
XML: char-data (267) returns 0
XML: start-element (267, {DAV:, locktoken}) => 273
XML: start-element (273, {DAV:, href}) => 278
XML: char-data (278) returns 0
XML: end-element (278, {DAV:, href})
XML: end-element (273, {DAV:, locktoken})
XML: char-data (267) returns 0
XML: end-element (267, {DAV:, activelock})
XML: end-element (266, {DAV:, lockdiscovery})
XML: end-element (50, {DAV:, prop})
XML: char-data (7) returns 0
XML: start-element (7, {DAV:, status}) => 6
XML: char-data (6) returns 0
Decoded status line: HTTP/1.1 200 OK
XML: end-element (6, {DAV:, status})
XML: end-element (7, {DAV:, propstat})
XML: char-data (2) returns 0
End of response for /lockme
XML: end-element (2, {DAV:, response})
XML: end-element (1, {DAV:, multistatus})
XML: XML_Parse returned 1
Reading 1024 bytes of response body.
Got EOF.
Read block (0 bytes):
[]
XML: End of document.
XML: XML_Parse returned 1
Running post_send hooks
Closing connection.
Connection closed.
Request ends, status 207 class 2xx, error line:
207 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 11: fail_discover ********
HTTP session to http://localhost:7777 begins.
Doing DNS lookup on localhost...
Running pre_send hooks
Sending request headers:
PROPFIND /foo HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Depth: 0
Content-Length: 122
Content-Type: application/xml

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Sending request body:
Body block (122 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<propfind xmlns="DAV:"><prop>
<lockdiscovery xmlns="DAV:"/>
</prop></propfind>
]
Request sent; retry is 0.
[status-line] < HTTP/1.0 207 OK
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Got 145 bytes.
Read block (145 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D='DAV:'>
<D:response><D:href>/foo/bar</D:href><D:propstat>
</parse this, my friend>
]
XML: Parsing 145 bytes.
XML: start-element (0, {DAV:, multistatus}) => 1
XML: char-data (1) returns 0
XML: start-element (1, {DAV:, response}) => 2
XML: start-element (2, {DAV:, href}) => 4
XML: char-data (4) returns 0
XML: end-element (4, {DAV:, href})
XML: start-element (2, {DAV:, propstat}) => 7
XML: char-data (7) returns 0
XML: XML_Parse returned 0
XML: Parse error: XML parse error at line 4: not well-formed (invalid token)
Closing connection.
Connection closed.
Request ends, status 207 class 2xx, error line:
207 OK
Running destroy hooks.
Request ends.
ne_session_destroy called.
******* Running test 12: fail_lockauth ********
HTTP session to http://localhost:7777 begins.
ah_create, for WWW-Authenticate
Doing DNS lookup on localhost...
Running pre_send hooks
Not handling session.
Sending request headers:
LOCK /foo HTTP/1.1
Host: localhost:7777
Keep-Alive: 
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 145
Content-Type: application/xml
Depth: 0

Sending request-line and headers:
Connecting to ::1
Connecting to 127.0.0.1
Sending request body:
Body block (145 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<lockinfo xmlns='DAV:'>
 <lockscope><exclusive/></lockscope>
<locktype><write/></locktype></lockinfo>
]
Request sent; retry is 0.
[status-line] < HTTP/1.1 401 Auth Denied
[hdr] WWW-Authenticate: Basic realm="[EMAIL PROTECTED]"
Header Name: [www-authenticate], Value: [Basic realm="[EMAIL PROTECTED]"]
[hdr] Content-Length: 0
Header Name: [content-length], Value: [0]
[hdr] 
End of headers.
Running post_send hooks
ah_post_send (#0), code is 401 (want 401), WWW-Authenticate is Basic realm="[EMAIL PROTECTED]"
Got challenge (code 401).
Got new auth challenge: Basic realm="[EMAIL PROTECTED]"
New 'Basic' challenge.
Got pair: [realm] = [EMAIL PROTECTED]
Finished parsing parameters.
Looking for Digest challenges.
No good Digest challenges, looking for Basic.
Got Basic challenge with realm [EMAIL PROTECTED]
Did not understand any challenges.
Running destroy hooks.
Request ends.
ah_create, for WWW-Authenticate
Running pre_send hooks
Not handling session.
Sending request headers:
UNLOCK /bar HTTP/1.1
Host: localhost:7777
Connection: TE
TE: trailers
Lock-Token: <(null)>

Sending request-line and headers:
Request sent; retry is 1.
[status-line] < HTTP/1.1 401 Auth Denied
[hdr] WWW-Authenticate: Basic realm="[EMAIL PROTECTED]"
Header Name: [www-authenticate], Value: [Basic realm="[EMAIL PROTECTED]"]
[hdr] Connection: close
Header Name: [connection], Value: [close]
[hdr] 
End of headers.
Reading 1024 bytes of response body.
Aborted request (-4): Could not read response body
Closing connection.
Connection closed.
Request ends, status 401 class 4xx, error line:
Could not read response body: Connection reset by peer
Running destroy hooks.
Request ends.
_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to