Re: Fwd: Re: Fwd: Problem with recv syscall on socket when other side closed connection

Поиск
Список
Период
Сортировка
От Alan Cox
Тема Re: Fwd: Re: Fwd: Problem with recv syscall on socket when other side closed connection
Дата
Msg-id E139GDn-0005te-00@the-village.bc.nu
обсуждение исходный текст
Ответ на Re: Fwd: Re: Fwd: Problem with recv syscall on socket when other side closed connection  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> No, it doesn't "hang for all eternity", it sits in the same state until
> (a) the client side closes its sending side of the connection (ie, sends
> FIN), or (b) the FIN-WAIT-1 state times out.  But given a normally
> responsive client and no loss of physical connectivity or crash of
> either TCP stack, there is no connection reset and no failure to deliver
> sent data.

I cannot ack the data since it has not been read, so how can I ack the fin ?


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alan Cox
Дата:
Сообщение: Re: Fwd: Re: Fwd: Problem with recv syscall on socket when other side closed connection
Следующее
От: JanWieck@t-online.de (Jan Wieck)
Дата:
Сообщение: Re: Article on MySQL vs. Postgres