in reply to Simple HTTP in under 100 lines
- does not close connection right away though kills child.
- sending ctrl-c instead of something like GET / causes child to quit with
"Use of uninitialized value at /usr/lib/perl5/site_perl/5.005/HTTP/Daemon.pm line 498."
which is a funny reason to quit..
- was able to download a file set to chmod 700 and ending in .pl
So I'm not so sure about the security side, although presumably perl's proof against buffer attacks, we are told. How about keeping a list of children and killing them after a certain amount of time just in case? I wanted to do a kill -HUP on it when I had made a lot of children processes, but it just died.
The
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Simple HTTP in under 100 lines
by Corion (Patriarch) on Nov 13, 2001 at 20:17 UTC |