harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Kleymenov" <kleyme...@gmail.com>
Subject Re: [jira] Commented: (HARMONY-617) [classlib][luni] HttpURLConnection does not support persistent connections
Date Thu, 22 Feb 2007 11:59:02 GMT
Hi Andrew,

> Hi Alexander, why not launch jetty in embedded mode, say, in the test code?

It'll make the test dependable on Jetty. And it requires some suporting
framework to be implemented.

> We had a long discussion about jetty, and agreed to use it as a embedded web
> server for harmony test,

To evaluate such an approach some sample tests are needed. I looked for
them, but could not find.

> although I'm not sure whether it works for persistent connections.

I doubt it is possible to test persistence implementation with
external http server. Say, how is it possible to test that our
implementation will work correctly with 2 established persistent connections
while third connection was interrupted by the server? There could be many
examples of such testing situations requiring tight control over http server

Thank you for your note, I think we should decide is Jetty appropriate for using
here or not.


View raw message