Thursday, September 13, 2012

New Android lophttpd binaries

I just compiled lophttpd 0.98 for Android
(without SSL support). Available here.
Nice, isn't it?



Friday, September 7, 2012

lophttpd https trickery

After better separating the client state machines
inside lophttpd yesterday, by encapsulating the
send and recv functions, it was easy to add HTTPS
support into lophttpd today (TLSv1 actually).
Everything works as normal, single threaded and non-blocking.
You will of course lose some performance compared to
plain sockets (as with any crypto) and also the sendfile() needs to be
emulated, but it should still give good performance.