[Buildbot-devel] no gzip compression on html logs?

Stephen Davis stephendavis at mac.com
Fri Jun 17 21:50:25 UTC 2005


 From a quick check with curl -D headers.txt -O http:// 
mybot.company.com/Builder1/builds/6/compile/0, it appears that the  
data is sent back without gzip compression.

HTTP/1.1 200 OK
Transfer-encoding: chunked
Date: Fri, 17 Jun 2005 21:38:33 GMT
Content-type: text/html
Server: TwistedWeb/2.0.1

Since the logs can be quite large (> 1MB), this should be a huge win  
for remote viewing (or even local on a busy network).  For example,  
in my test, the raw file is 1339516 bytes and gzipping the file after  
downloading turns it into 60036 bytes.

1339516 --> 60036 = ~95% savings!

Since the log files are just files in the master's file system, it  
seems like they could easily be compressed for transfer. If I had  
*any* idea how the TwistedWeb stuff worked I'd offer to pitch in but  
think I would waste a lot of time digging around whereas someone else  
could probably fix it easily.  Don't have too much time at the moment  
to waste...

Filed issue #1222924

stephen

P.S.  It's also a little weird that it is using chunked encoding.  Is  
that on purpose?




More information about the devel mailing list