I did some digging into this with the help of Yahn, and we determined that it was a bug in WINE, not HL2. Turns out the person I had verify this along with me was also using WINE. In case anyone is interested, the bug+wine patch are available at http://bugs.winehq.org/show_bug.cgi?id=17914 > Message: 4 > Date: Tue, 31 Mar 2009 13:21:11 -0500 > From: Steven Sumichrast <[email protected]> > Subject: Re: [hlds_linux] Bug in sv_downloadurl client > To: Half-Life dedicated Linux server mailing list > <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=ISO-8859-1 > > Brian, > > I'm using Lighttpd for my fast downloads and I have not noticed this > problem at all (CS:S, L4D and TF2) -- getting 200 responses back when > users request a file, and then it serves it up... doesn't matter on > format, either. > > On Fri, Mar 27, 2009 at 3:05 PM, Brian Rak <[email protected]> wrote: > >> It would seem that the sv_downloadurl client does not conform to the >> HTTP RFC, which causes issues on webservers that don't handle >> misbehaving clients right (ex: lighttpd). ?The problem is an extra \r\n >> sequence right after the Referer: field. ?This is not valid in HTTP get >> requests.. only post. >> >> The current format looks like this: >> GET /myserver/maps/de_dust3.bsp HTTP/1.1 >> Accept: */* >> Host: 192.168.3.89 >> Referer: hl2://myserver:27015 >> >> User-Agent: Half-Life 2 >> Connection: Keep-Alive >> >> it should be: >> GET /myserver/maps/de_dust3.bsp HTTP/1.1 >> Accept: */* >> Host: 192.168.3.89 >> Referer: hl2://myserver:27015 >> User-Agent: Half-Life 2 >> Connection: Keep-Alive >> >> This is a really simple fix, and I hope it's something that Valve can >> fix for us. ?As it is now, trying to use lighttpd to serve >> sv_downloadurl content will result in everyone getting 400 bad request >> errors. ?I've managed to patch lighttpd to deal with this, but the patch >> is hacky and mostly untested. ?If people want it, I can release it, but >> it's stupid to need to patch the webserver over something as trivial as >> this. >> >> - Brian "devicenull" Rak >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlds_linux >> >> > > > > ------------------------------ > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlds_linux > > > > End of hlds_linux Digest, Vol 13, Issue 95 > ****************************************** > >
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux

