Unreasonably slow stunnel

Posted by Kit Sunde on Server Fault See other posts from Server Fault or by Kit Sunde
Published on 2011-11-08T01:34:23Z Indexed on 2012/06/23 21:17 UTC
Read the original article Hit count: 246

Filed under:
|

I setup stunnel on OSX to tunnel traffic to my Django dev server because Facebook needs HTTPS these days but I noticed it's being absurdly slow. It seems like it can only handle a single connection at a time and even the connection is slow when I'm connecting to localhost. I've tried using some performance tips found online and so my config is setup as:

pid=
# foreground=yes
cert=./cacert.pem
key=./privkey.pem
libwrap=no
debug=0
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

[https]
accept=8443
connect=8000

Is there a way to get more performance or more suitable way of setting up HTTPS for my dev server?

© Server Fault or respective owner

Related posts about https

Related posts about stunnel