Mailinglist Archive: opensuse-buildservice (158 mails)

< Previous Next >
[opensuse-buildservice] getbinarylist and Transfer-Encoding header

there seems to be a problem with the getbinarylist call (view=cpio)
and the "Transfer-Encoding" header (depending on the "length" of the
request?). I just tried the following curl calls:
curl -o out.cpio -v -sS \
-e "print 'b'x3616")"
curl -o out.cpio -v -sS \
-e "print 'b'x3617")"

The response of the first request still includes the
"Transfer-Encoding" header but the response of the second request
has no "Transfer-Encoding" header.

Now consider the following call:
curl http://<local obs>/build/<remote
project>/<repo>/<arch>/_repository?view=cpio&<long query>

This leads to a "crash" in bs_srcserver (the ajax process dies because
the response has neither a "Transfer-Encoding" nor a "Content-Length"

Any ideas why the "Transfer-Encoding" header gets swallowed?


Ps. is this the same bug to which a comment in "worker_getbinaries"
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages