On Wed, 01.03.06 20:05, Joe Orton ([EMAIL PROTECTED]) wrote:

> Hi Lennart,

Hi!

> > The problem is that neon doesn't consider partial GET responses valid
> > which don't return exactly the byte range requested. However, modern
> > WebDAV servers concatenate the real file length to the returned byte
> > range. (seperated by a dash) Hence, neon will never accept any partial
> > GET responses.
> 
> As is required by 2616, indeed! I've merged a slightly different patch, 
> as below.

Mmmh, are you sure that that patch does what you want? The "if"
condition contains a check for "range != NULL". However, the new "rlen"
variable is initialized by strlen(range+6), hence it requires "range"
to be valid. Somehow this doesn't fit together, does it?

Lennart

-- 
Lennart Poettering; lennart [at] poettering [dot] net
ICQ# 11060553; GPG 0x1A015CC4; http://0pointer.net/lennart/
_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to