Re: [patch 00/13] Syslets, "Threadlets", generic AIO support, v3

Frederik Deweerdt
2007-02-25T20:03:00Z

On Sun, Feb 25, 2007 at 07:34:38PM +0100, Ingo Molnar wrote:
>
> * Evgeniy Polyakov <johnpol@2ka.mipt.ru> wrote:
>
> > > thx - i guess i should just run them without any options and they
> > > bind themselves to port 80? What 'ab' options are you using
> > > typically to measure them?
> >
> > Yes, but they require /tmp/index.html to have http header and actual
> > data page. They do not parse http request :)
>
> ok. When i connect to the epoll server via "telnet mysever 80", and
> enter a 'request', i get back the content - but the socket connection is
> not closed. Every time i type enter i get a new content back. Why is
> that so - the code seems to contain a close(fd).
>
I'd say a close(s); is missing just before return 0; in
evtest_callback_client() ?

Regards,
Frederik