
javax.net.ssl.SSLServerSocket reads only a char "G" in https header line but not "GET / HTTP/1.1"
trying out NanoHTTPD: http://elonen.iki.fi/code/nanohttpd/
i changed one line in its NanoHTTPD constructor:
// myServerSocket = new ServerSocket(myTcpPort); myServerSocket = SSLServerSocketFactory.getDefault().createServerSocket(myTcpPort);
and also supplied 2048-bit RSA for javax.net.ssl.keyStore. it works (and responding all https) on MSIE8.0 and Firefox 9.0.1, but fails on Firefox 10.0.1 and Google Chrome 17.0.963.56 m, the http header line which is supposed to be "GET / HTTP/1.1" now only gets a char "G" and nothing else.
trying out NanoHTTPD:
http://elonen.iki.fi/code/nanohttpd/
i changed one line in its NanoHTTPD constructor:
// myServerSocket = new ServerSocket(myTcpPort);
myServerSocket = SSLServerSocketFactory.getDefault().createServerSocket(myTcpPort);
and also supplied 2048-bit RSA for javax.net.ssl.keyStore.
it works (and responding all https) on MSIE8.0 and Firefox 9.0.1, but fails on Firefox 10.0.1 and Google Chrome 17.0.963.56 m, the http header line which is supposed to be "GET / HTTP/1.1" now only gets a char "G" and nothing else.