New Inets

Sean Hinde Sean.Hinde@REDACTED
Mon Oct 1 14:14:19 CEST 2001


Inets was the inspiration for our tcp server process structure so I always
have a look inside when there is a new version.

In the R8 Prerelease version I noticed the rather unusual design decision to
read the HTTP header 1 octet at a time with successive gen_tcp:recv calls.

I wonder if any performance testing was done on this mechanism as it doesn't
particularly strike me as optimal.. and it might be very slow indeed...

I also noticed that there is now a driver option to gen_tcp:socket (http)
which returns decoded http headers straight from the socket. Is it intended
that this becomes a fully supported part of OTP (or even used by a future
inets version)? 


This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

More information about the erlang-questions mailing list