On Thu, Jun 21, 2001 at 09:06:07PM +0100, Theodore Hong wrote:
<> 
> I've actually started to have some more time now, so I was planning on
> coming back into development a bit instead of just writing papers. =)
> Which are the main classes to look at where you've started to do work 
> on this already?

The stuff I did back then is in Freenet.node.interfaces.http (you'll
need to move the experimental branch). I'm not sure that it is useful
though, we changed the way the Interfaces are defined since I wrote
that, so it won't even compile (the Util class has a multipart splitting
method though - and one that doesn't split the data into Strings as to
boot! I was told later that the correct way of doing that is with a
rolling hash value, so it could be nicer).

It could probably be argued successfully that my attempt to use the
Freenet classes (RawMessage etc) to read http messages was misguided.
The option is to write a new implementation of Freenet.Interface that
overrides the getERunnable() method with something that returns a Thread
that handles the HTML connection in whatever manner you see fit. We'll
probably connect an implementation of Freenet.client.InternalClient
to the Freenet.node.Node so that can be used for requests...

-- 
'DeCSS would be fine. Where is it?'
'Here,' Montag touched his head.
'Ah,' Granger smiled and nodded.

Oskar Sandberg
oskar at freenetproject.org

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to