[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW]
From: |
Jeff Barber |
Subject: |
Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW] |
Date: |
Mon, 10 Aug 2009 16:36:58 -0400 |
On Mon, Aug 10, 2009 at 1:41 PM, Chris Strahm<address@hidden> wrote:
>>> Maybe recursion?
>>> Where is close_conn being called from here?
>
> It comes from my send_data() routine.
> Once all of the data to send has been written to tcp_write(),
> then close_conn gets called, and send_data() returns.
Don't know exactly what your source looks like but in the
contrib/apps/httpserver_raw/httpd.c, http_recv calls send_data and
then calls http_sent immediately afterward. This is okay in the
contrib version because send_data does *not* call close_conn.
Jeff
- Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW], (continued)
- Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Chris Strahm, 2009/08/11
- Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW], address@hidden, 2009/08/11
- RE: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Bill Auerbach, 2009/08/12
- RE: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Simon Goldschmidt, 2009/08/12
- RE: [lwip-users] Improved HTTP webserver (was: http_sent cb shows 1 byte trailer [RAW]), Bill Auerbach, 2009/08/12
- RE: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Pettinato, Jim, 2009/08/12
- Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW],
Jeff Barber <=
- Re: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Kieran Mansley, 2009/08/11
- RE: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Ben Hastings, 2009/08/10
- RE: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Kieran Mansley, 2009/08/11
Fw: [lwip-users] http_sent cb shows 1 byte trailer [RAW], Chris Strahm, 2009/08/11