Details
-
Type: Change
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: V3.0.8.0
-
Fix Version/s: V4.3.0.0
-
Labels:None
-
Account:SPC TCP_IP (SPCTCPIP)
Description
When a peer shutdowns transmission on a TCP connection (FIN sent) the implementation regards the socket as "HangUp" and will refuse further transmission on This socket. Additionally, the RecvFrom service is confirmed in an invalid manner.
According to Posix definition. The following behavior is expected when a peer has shutdown transmission on a TCP connection:
- Transmission (SendTo service) shall continue normal operation until the a connection reset is received. The latter is regarded as the event of "HangUp"
- Reception shall not block anymore and return 0 byte without error. Thus RecvFrom Service shall be confirmed with success and length 0
- Poll system call for that socket shall return immediately and have the SOCK_POLLIN flag set
Attachments
Issue Links
- discovered by
-
PSLWIP-311 Give better status in Packet Socket Api SendTo-Service confirmation for closed connections
- Closed