On Wed, May 16, 2012 at 4:12 PM, Mark Phippard <markp...@gmail.com> wrote: > On Wed, May 16, 2012 at 4:06 PM, Mark Phippard <markp...@gmail.com> wrote: > >> I do not think the server sent garbage. It sent a chunked response >> where the entire OPTIONS response did not come in one packet. When >> this happens with the new code it seems to break. >> >> As Justin said, the date/time was simply inserted by socat in its >> output because it was a new packet. > > I have attached all of the output when using socat as a proxy.
And here is attached output from a 1.7.5 client using Serf (which handles the same OPTIONS response fine). -- Thanks Mark Phippard http://markphip.blogspot.com/
> 2012/05/16 16:16:23.869294 length=502 from=0 to=501 OPTIONS http://cu121.cloud.sp.collab.net/svn/desktop HTTP/1.1\r Host: cu121.cloud.sp.collab.net\r User-Agent: SVN/1.7.5 serf/1.0.0\r Content-Type: text/xml\r DAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r Transfer-Encoding: chunked\r \r 83\r <?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-collection-set></D:activity-collection-set></D:options>\r 0\r \r < 2012/05/16 16:16:23.998457 length=624 from=0 to=623 HTTP/1.1 401 Authorization Required\r Date: Thu, 17 May 2012 04:12:14 GMT\r Server: Apache\r WWW-Authenticate: Basic realm="CollabNet Subversion Repository"\r Content-Length: 401\r Content-Type: text/html; charset=iso-8859-1\r \r <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>401 Authorization Required</title> </head><body> <h1>Authorization Required</h1> <p>This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.</p> </body></html> > 2012/05/16 16:16:25.732248 length=549 from=502 to=1050 OPTIONS http://cu121.cloud.sp.collab.net/svn/desktop HTTP/1.1\r Host: cu121.cloud.sp.collab.net\r Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxx=\r User-Agent: SVN/1.7.5 serf/1.0.0\r Content-Type: text/xml\r DAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r Transfer-Encoding: chunked\r \r 83\r <?xml version="1.0" encoding="utf-8"?><D:options xmlns:D="DAV:"><D:activity-collection-set></D:activity-collection-set></D:options>\r 0\r \r < 2012/05/16 16:16:25.860322 length=1228 from=624 to=1851 HTTP/1.1 200 OK\r Date: Thu, 17 May 2012 04:12:16 GMT\r Server: Apache\r DAV: 1,2\r DAV: version-control,checkout,working-resource\r DAV: merge,baseline,activity,version-controlled-collection\r DAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r DAV: http://subversion.tigris.org/xmlns/dav/svn/atomic-revprops\r DAV: http://subversion.tigris.org/xmlns/dav/svn/partial-replay\r DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r DAV: <http://apache.org/dav/propset/fs/1>\r MS-Author-Via: DAV\r Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,CHECKOUT\r SVN-Youngest-Rev: 1339\r SVN-Repository-UUID: 4210ea44-614f-6349-93a2-cf636fb24701\r SVN-Repository-Root: /svn/desktop\r SVN-Me-Resource: /svn/desktop/!svn/me\r SVN-Rev-Root-Stub: /svn/desktop/!svn/rvr\r SVN-Rev-Stub: /svn/desktop/!svn/rev\r SVN-Txn-Root-Stub: /svn/desktop/!svn/txr\r SVN-Txn-Stub: /svn/desktop/!svn/txn\r SVN-VTxn-Root-Stub: /svn/desktop/!svn/vtxr\r SVN-VTxn-Stub: /svn/desktop/!svn/vtxn\r Content-Length: 191\r Content-Type: text/xml; charset="utf-8"\r \r <?xml version="1.0" encoding="utf-8"?> <D:options-response xmlns:D="DAV:"> <D:activity-collection-set><D:href>/svn/de< 2012/05/16 16:16:25.863885 length=74 from=1852 to=1925 sktop/!svn/act/</D:href></D:activity-collection-set></D:options-response> > 2012/05/16 16:16:25.874612 length=795 from=1051 to=1845 REPORT http://cu121.cloud.sp.collab.net/svn/desktop/!svn/me HTTP/1.1\r Host: cu121.cloud.sp.collab.net\r Authorization: Basic bWFya3BoaXA6bWljaGVsbGU=\r User-Agent: SVN/1.7.5 serf/1.0.0\r Content-Type: text/xml\r DAV: http://subversion.tigris.org/xmlns/dav/svn/depth\r DAV: http://subversion.tigris.org/xmlns/dav/svn/mergeinfo\r DAV: http://subversion.tigris.org/xmlns/dav/svn/log-revprops\r Accept-Encoding: gzip\r Transfer-Encoding: chunked\r \r 15a\r <S:update-report xmlns:S="svn:"> <S:src-path>/svn/desktop</S:src-path> <S:depth>unknown</S:depth> <S:entry rev="1339" depth="immediates"></S:entry> <S:entry rev="1339" depth="empty">branches</S:entry> <S:entry rev="1339" depth="empty">tags</S:entry> <S:entry rev="1339" depth="empty">trunk</S:entry> </S:update-report> \r 0\r \r < 2012/05/16 16:16:26.002642 length=755 from=1926 to=2680 HTTP/1.1 200 OK\r Date: Thu, 17 May 2012 04:12:16 GMT\r Server: Apache\r Transfer-Encoding: chunked\r Content-Type: text/xml; charset="utf-8"\r \r 25f\r <?xml version="1.0" encoding="utf-8"?> <S:update-report xmlns:S="svn:" xmlns:V="http://subversion.tigris.org/xmlns/dav/" xmlns:D="DAV:" > <S:target-revision rev="1339"/> <S:open-directory rev="1339"> <D:checked-in><D:href>/svn/desktop/!svn/ver/1339/</D:href></D:checked-in> <S:set-prop name="svn:entry:committed-rev">1339</S:set-prop> <S:set-prop name="svn:entry:committed-date">2010-04-27T18:56:34.490851Z</S:set-prop> <S:set-prop name="svn:entry:last-author">selsemore</S:set-prop> <S:set-prop name="svn:entry:uuid">4210ea44-614f-6349-93a2-cf636fb24701</S:set-prop> </S:open-directory> </S:update-report> \r < 2012/05/16 16:16:26.004306 length=5 from=2681 to=2685 0\r \r