-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
8u73
-
x86_64
-
windows_7
FULL PRODUCT VERSION :
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
When connecting to a server using a Socket class and calling socket.shutdownOutput() method the implementation sends FIN and ACK flags which closes connection on both client and server. From API it looks like it should send only FIN flag.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start TCP/IP sniffer.
Create a Server instance, connect to it using Socket class, call socket.shutdownOutput(). At this time you should see in the sniffer that [FIN, ACK] flags were sent.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When socket.shutdownOutput() is used only [FIN] flag is sent.
ACTUAL -
When socket.shutdownOutput() is used [FIN, ACK] flags are sent.
REPRODUCIBILITY :
This bug can be reproduced always.
Java(TM) SE Runtime Environment (build 1.8.0_73-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.73-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]
A DESCRIPTION OF THE PROBLEM :
When connecting to a server using a Socket class and calling socket.shutdownOutput() method the implementation sends FIN and ACK flags which closes connection on both client and server. From API it looks like it should send only FIN flag.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Start TCP/IP sniffer.
Create a Server instance, connect to it using Socket class, call socket.shutdownOutput(). At this time you should see in the sniffer that [FIN, ACK] flags were sent.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
When socket.shutdownOutput() is used only [FIN] flag is sent.
ACTUAL -
When socket.shutdownOutput() is used [FIN, ACK] flags are sent.
REPRODUCIBILITY :
This bug can be reproduced always.