I think we should break froxy up into separate servlets bound together on the 
same port with Tavin's MultipleHttpServletContainer.  The hard cross port 
redirects are ugly.   Once everything is running on the same port redirects 
are less ugly.

/  -- with no arguments would map to Ian's infolet main page
   -- with a valid URI, maps to a leaner and meaner fproxy-lite servlet that 
        handles normal requests and inserts but redirects splitfile
        inserts /requests to he servlets below.
/servlet/splitfile_insert  -- inserts a FEC encoded splitfile
/servlet/splitfile_retrieve -- retrieves a fec encoded splitfile
/servlet/cool_thing_no_one_has_thought_of yet -- it's easy to add new stuff

This would make the code more modular and more easily expandable. 

Think webcam servlet. edition freesite checker servlet etc. etc.

-- gj



_______________________________________________
devl mailing list
devl at freenetproject.org
http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to