xapCacheWebserverApplet script error?
22 December, 2011 - 19:14
Brett,
I have only recently started to make use of the webserver applet in anger and have noticed it crashes plugboard every now and there at seeming random intervals of uptime.
The log shows this to be related to this bit of code:
function sendError( client, status, str )
message = "HTTP/1.0 " .. status .. " OK\r\n" ;
message = message .. "Server: xapCacheApplet" .. socket.version .. "\r\n";
error message is: attempt to concatenate field 'version' ( a nil value)
should this be info.version as used elsewhere in the code?
thanks
Garry.
Gary you are correct it should be info.version my bad. Well spotted.
Brett