Mailinglist Archive: opensuse-buildservice (214 mails)

< Previous Next >
Re: [opensuse-buildservice] Getting binaries through linked project
On Thu, Feb 23, 2012 at 06:27:50PM +0200, Ed Bartosh wrote:
On the server side I see this error in src_server.log:
2012-02-23 17:15:17 [8319]: GET
2012-02-23 17:15:17 [8221]: GET /build/ (AJAX)
rpc_recv_stream_handler: illegal chunk size: 16175

In the code of I can see this:
if ($cl < 0 || $cl >= 16000) {
print "rpc_recv_stream_handler: illegal chunk size: $cl\n";
BSServerEvents::stream_close($rev, $ev);

Where this limit came from?

It was added to find some problems with the SSL code. I'm not sure if it's
still needed, you might want to change the 16000 to some higher value.
(Some limit is still good to have to detect really broken streams instead
of using up all memory.)

How it at all can be possible that some obs server sends chunks bigger than
this limit? How would you suggest to fix this?

I don't know. The code makes sure that the chunks are not much bigger than 4k.
Maybe there's some proxy inbetween that reassembles chunks.

I'm using obs server 2.1.16 if it matters.

(not related to the topic) What's the point of having two almost similar
GET /build/ (AJAX)

That's actually the same request, it's handed over from the normal server
to the server for "long running" requests (AJAX requests). Thus you see one line
from the normal server and one line from the ajax server.


Michael Schroeder mls@xxxxxxx
SUSE LINUX Products GmbH, GF Jeff Hawn, HRB 16746 AG Nuernberg
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups