OK, updated.
The changes were so it would work behind nginx.
But you diagnosis looks good - it still doesn't understand POST
The appropriate behaviour though should be to close the connection and move on...
Russell


On 28 Sep 2014, at 3:59 pm, Russell Allen mail@russell-allen.com [self-interest] <self-interest@yahoogroups.com> wrote:


I've just realised the code on github isn't the same version as was running, so hold off for a bit and I will update. Sorry!
Russell

Sent from my phone


On 28 Sep 2014, at 3:53 pm, "Chris Double chris.double@double.co.nz [self-interest]" <self-interest@yahoogroups.com> wrote:

 

On Sun, Sep 28, 2014 at 8:51 AM, Russell Allen mail@russell-allen.com
[self-interest] <self-interest@yahoogroups.com> wrote:
> POST /wp-login.php HTTP/1.0
...
> No 'last' slot found in nil.

This error seems to happen because it's a POST request. The code in
webserver handleRequest looks for 'GET *'. If it doesn't find it it
doesn't set the 'url' variable so that remains at nil. When
staticSiteServer's handleUrl method is called it is called with that
nil parameter. It then calls 'last' on it to find out if it has a
trailing '/'.

I think a fix would be to just treat non-GET as 404 and not pass on to
the servlet.

-- 
http://www.bluishcoder.co.nz