Only gather host information if it's actually needed.
authorFabian Keil <fk@fabiankeil.de>
Fri, 21 Mar 2008 11:14:00 +0000 (11:14 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 21 Mar 2008 11:14:00 +0000 (11:14 +0000)
commite960d924ca9abc7e98f490b61dd5f65a189e6ff7
treee31d6773645167d5072b58d3513b4947b6f3c89b
parent8bc46b23dcf95a9bb6f9c214613d2fad44a4c82a
Only gather host information if it's actually needed.
Also move the code out of accept_connection() so it's less likely
to delay other incoming connections if the host is misconfigured.
ChangeLog
GNUmakefile.in
cgi.c
jbsockets.c
jbsockets.h