[Http-crcsync] crcsync, Mozilla, GSoC and students

Alex Wulms alex.wulms at scarlet.be
Tue Apr 7 15:56:18 EDT 2009


Hi Gerv,

Here is what they need:
1) Get sources from http://repo.or.cz/w/httpd-crcsyncproxy.git (note: it is a 
full apache source tree, with the new modules included)

2) take following sources (in unmodified form) from the tree:
ccan/crc/crc.c
ccan/crc/crc.h
ccan/crcsync/crcsync.c
ccan/crcsync/crcsync.h
crccache/crccache.h

3) Copy/paste/modify appropriate parts from following two sources into 
firefox. 
crccache/mod_crccache_client.c
crccache/Makefile

Basically, mod_crccache_client.c is an apache cache handler module. It takes 
care of building the "Block-Hashes" request header and of re-assembling the 
final response from the originally cached file and the encoded data received 
from the upstream server. Because it integrates with apache, you can not just 
take it as is, but you will have to port the code into firefox.
But the good point is that it is build on top of the code in ccan/... folder, 
which is completely re-usable.

Hope that this helps your students already get up to speed.

Note that the code is not yet complete.  It is only a first draft of the 
implementation. There are still several special cases that need to be 
supported. See all TODO remarks in the code and the discussions about the 
protocol specification on this list.

Kind regards,
Alex



Op maandag 6 april 2009, schreef Gervase Markham:
> Hi everyone,
>
> I have some students who are interested in doing HTTP delta encoding as
> a Summer of Code project with Mozilla. It seems like the no-brainer
> thing to do is to get them to get involved here and to write a Firefox
> patch or addon which talks to your server implementation. So I've asked
> them to modify their proposals to that end.
>
> If anyone knowledgeable has information which they are all going to need
> on getting the current code working for browsing, and which would take
> them a few hours of research but you only five minutes to mention,
> please mention it :-) (E.g. something like the hypothetical "you don't
> need to compile all of Apache, just run this limited build command, then
> take this lib file here and drop it into that directory there on your
> Ubuntu install, and you should be good to go.")
>
> Thanks for any help people can give,
>
> Gerv
> _______________________________________________
> Http-crcsync mailing list
> Http-crcsync at lists.laptop.org
> http://lists.laptop.org/listinfo/http-crcsync




More information about the Http-crcsync mailing list