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

From: Frederik Deweerdt
Date: Sun Feb 25 2007 - 15:03:20 EST


On Sun, Feb 25, 2007 at 07:34:38PM +0100, Ingo Molnar wrote:
>
> * Evgeniy Polyakov <johnpol@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/