I am creating a site to register domain names, and I'm evaluating the
OpenSRS api to see it it will work for me. So far it looks great, and I'm
excited to start development with it.
As I've gone over the code and example templates for the past few days I
noticed something that didn't look right. Now you'll have to forgive me if
I'm way off base, I've never written a line of Perl Script, never read a
Perl book, and this is the first time I've ever looked at Perl Script.
Needless to say it's taken me a few days to read the code of this very
different language.
However, after many hours I think I've seen enough to follow what's going
on. I notice that the "send_cmd" routine calls "init_socket" which opens a
socket connection with the server (if the _fh: (file handle) doesn't already
exist i.e. (if "_fh" is not undefined). This socket is never closed,
explicitly. Is this a bug?
This may not be a bug if when the cgi script exits all open sockets are
automatically closed (which may be the case, but since I know squat I wasn't
sure).
Can anyone tell me if this is really a bug or just a beginners ignorance.
Thanks,
Shane
This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:35:36 EDT