I am not sure why Socket is used.  It was used in the first version
checked into CVS
(http://cvs.apache.org/viewcvs.cgi/xml-soap/java/src/org/apache/soap/uti
l/net/HTTPUtils.java?rev=1.1&content-type=text/vnd.viewcvs-markup).
Maybe it was because HTTP is relatively easy to implement, or maybe it
was a preference to not rely on the implementation of HttpURLConnection,
which might not be well optimized.

One thing about URLConnection is that I don't see a way to disable the
Nagle algorithm (equivalent of Socket#setTcpNoDelay(true)).

Scott Nichol

----- Original Message -----
From: "Pavel Ausianik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 11, 2002 12:38 PM
Subject: RE: TODO list


> Scott,
>
> I just thought if I can help implementing "- follow HTTP redirects on
the
> client". However after first look I see that HTTPUtils are custom
> implemented, and use socket connection. Can you provide me some guide,
why
> it does not use URLConnection, etc., so I do not broke anyhing?
>
> Best regards,
> Pavel
>
>
>
>
> > -----Original Message-----
> > From: Scott Nichol [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, October 11, 2002 6:50 PM
> > To: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Subject: TODO list
> >
> >
> > I've updated the TODO list which can be viewd at
> > http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/TODO?rev
> > =HEAD&cont
> > ent-type=text/plain.  Anyone who has considering contributing should
> > have a look.  I am especially eager to have support for more
> > XML schema
> > primitive types and support for multi-dimensional arrays, but
anything
> > on the list is fair game.  Of course, if you have anything else you
> > would like to contribute, that's great, too.
> >
> > Scott Nichol
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to