Refine package description
This commit is contained in:
parent
b1b6beb4d3
commit
ecd883184f
|
@ -3,14 +3,14 @@
|
|||
|
||||
Performing TCP handshake without ACK, useful for health checking.
|
||||
|
||||
HAProxy do this exactly the same, which is:
|
||||
HAProxy does this exactly the same, which is:
|
||||
|
||||
- SYN
|
||||
- SYN-ACK
|
||||
- RST
|
||||
|
||||
## Why do I have to do this?
|
||||
Usually when you establish a TCP connection(e.g. net.Dial), these are the first three packets (TCP three-way handshake):
|
||||
Usually when you establish a TCP connection(e.g. `net.Dial`), these are the first three packets (TCP three-way handshake):
|
||||
|
||||
- Client -> Server: SYN
|
||||
- Server -> Client: SYN-ACK
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// Package tcp is used to perform TCP handshake without ACK.
|
||||
// Useful for health checking, HAProxy do this exactly the same.
|
||||
// Package tcp is used to perform TCP handshake without ACK,
|
||||
// useful for health checking, HAProxy does this exactly the same.
|
||||
// Which is SYN, SYN-ACK, RST.
|
||||
//
|
||||
// Why do I have to do this?
|
||||
|
|
Loading…
Reference in New Issue