My Java webserver jamserve is approaching conditional HTTP/1.1 conformance. Whether or not it'll actually get there is a matter for debate.
I'll have to do some code cleanup before I call it a 1.0 release. The logic works fine (thanks in no small part to the vast standard library in Java), but there's parts of the code that don't feel right. Mainly in SessionThread.java. I think I've been shell-monkeying for too long and have forgotten how to do OO code.
Update: I've re-jigged the HttpReturn and SessionThread classes, so all is a bit cleaner. Still a bit big and hairy for my liking, but validating an HTTP request is pretty linear, so it's always going to be like that.
Things are progressing nicely.
I'll have to do some code cleanup before I call it a 1.0 release. The logic works fine (thanks in no small part to the vast standard library in Java), but there's parts of the code that don't feel right. Mainly in SessionThread.java. I think I've been shell-monkeying for too long and have forgotten how to do OO code.
Update: I've re-jigged the HttpReturn and SessionThread classes, so all is a bit cleaner. Still a bit big and hairy for my liking, but validating an HTTP request is pretty linear, so it's always going to be like that.
Things are progressing nicely.
Leave a comment