On Wed, Apr 21, 2010 at 2:19 AM, Daniel Smith <
dan...@lukenine45.net> wrote:
> You're right, I was out of date (bad me). It doesn't crash now. It also no
> longer works at all, with or without a config. The page never loads.
>
> Thanks for your help, I may try debugging it.
It's not a complete disaster, but it does need a rewrite to be solid
enough to use in anger. (The use of goroutines was neat, but a mistake
in hindsight.)
Try:
% openssl genrsa 1024 > key.pem
% openssl req -new -key key.pem -days 365 -nodes -x509 -out cert.pem
% 6g server.go && 6l server.6 && ./6.out
(in a different terminal)
% openssl s_client -tls1 -connect
127.0.0.1:10443
The connection state bits were, more or less, never hooked up I'm
afraid. The rewrite has been on the cards for a while, but I've so
much else to do I'm afraid.
AGL