Difference between revisions of "Talk:Server.pl"
From Organic Design wiki
(Notes on bind-after-restart issue) |
(Add links to socket code examples) |
||
Line 15: | Line 15: | ||
# Bugs & Notes | # Bugs & Notes | ||
*Socket can't bind to port for a minute or so after peer stops. Shutting it officially, blocking, autoflush don't work. <tt>netstat -tupl</tt> and <tt>lsof -i 1729</tt> show that the port is freed immediately, but it still won't bind until after the delay. | *Socket can't bind to port for a minute or so after peer stops. Shutting it officially, blocking, autoflush don't work. <tt>netstat -tupl</tt> and <tt>lsof -i 1729</tt> show that the port is freed immediately, but it still won't bind until after the delay. | ||
+ | **[http://www.cs.usyd.edu.au/~sholden/pythonperl.html Some PERL socket info here] | ||
+ | **[http://www.adp-gmbh.ch/perl/proxy.html PERL proxy-server code - good socket example] | ||
+ | **[http://www.peter.com.au/perl/ Good socket and other examples] |
Revision as of 09:07, 16 February 2006
Here are some directives Apache uses when it deals with IE clients:
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0
Might give a clue to it's little quirks.
--Rob 09:44, 16 Feb 2006 (NZDT)
Currently HTTP authentication is just base64 encoded username:password which is basically just plain text, so the password can easily be discovered.
- Bugs & Notes
- Socket can't bind to port for a minute or so after peer stops. Shutting it officially, blocking, autoflush don't work. netstat -tupl and lsof -i 1729 show that the port is freed immediately, but it still won't bind until after the delay.