-
The previous patch is incorrect. It calls shutdown() without the 'how' parameter. My initial tests passed SHUT_RDWR as the 'how' parameter. Further testing has shown that SHUT_WR works best. Additional research revealed that a shutdown() should always be followed by a close(). So, the new patch looks like this:
diff -Naur axTLS.orig/httpd/axhttpd.c axTLS/httpd/axhttpd.c
---...
2009-10-14 15:17:43 UTC by brownesteemcom
-
The function shutdown() should be used to close the cn->networkdesc instead of SOCKET_CLOSE(). If the axhttpd launches a CGI app. and the CGI app. forks a daemon, the cn->networkdesc is still not closed after the call to SOCKET_CLOSE(). So, the browser never receives a FIN from the server and the browser continues to look like it is waiting for more data. The attached patch shows the simple...
2009-10-14 00:14:56 UTC by brownesteemcom
-
The function shutdown() should be used to close the cn->networkdesc instead of SOCKET_CLOSE(). If the axhttpd launches a CGI app. and the CGI app. forks a daemon, the cn->networkdesc is still not closed after the call to SOCKET_CLOSE(). So, the browser never receives a FIN from the server and the browser continues to look like it is waiting for more data. The attached patch shows the simple...
2009-10-13 20:13:40 UTC by brownesteemcom
-
cameronrich committed revision 162 to the axTLS Embedded SSL SVN repository, changing 1 files.
2009-09-30 11:26:49 UTC by cameronrich
-
cameronrich committed revision 161 to the axTLS Embedded SSL SVN repository, changing 9 files.
2009-09-25 11:52:55 UTC by cameronrich
-
cameronrich committed revision 160 to the axTLS Embedded SSL SVN repository, changing 2 files.
2009-09-24 12:27:08 UTC by cameronrich
-
cameronrich committed revision 159 to the axTLS Embedded SSL SVN repository, changing 6 files.
2009-09-23 12:38:23 UTC by cameronrich
-
I would humbly like to propose adding support for run-time configurable listening address and port, for both http and https requests. Below is a possible syntax, inspired by Dropbear SSH and Net-SNMP.
axhttpd [-h 192.168.1.0:8080] [-s 199.232.41.10:443]
Or, in a /etc/axhttpd.conf file:
[http]
ListenAddress [:port]
[https]
ListenAddress...
2009-06-29 10:03:45 UTC by crash
-
version 1.2.2. should fix this problem. Thanks for the patch/heads up.
2009-03-27 12:33:31 UTC by cameronrich
-
cameronrich added the axTLS-1.2.2.tar.gz file.
2009-03-27 11:37:47 UTC by cameronrich