Open ttjiaa opened 6 years ago
This PR fixes the issue where CloseAbnormalClosure(1006) and CloseTLSHandshake(1015) are incorrectly forwarded as close frames, as they are reserved.
CloseAbnormalClosure
1006
CloseTLSHandshake
1015
reserved
Changes are made in correspondence to https://github.com/vulcand/oxy/blob/master/forward/fwd.go#L402-L418.
Ref: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent
The problem still exists
This PR fixes the issue where
CloseAbnormalClosure
(1006
) andCloseTLSHandshake
(1015
) are incorrectly forwarded as close frames, as they arereserved
.Changes are made in correspondence to https://github.com/vulcand/oxy/blob/master/forward/fwd.go#L402-L418.
Ref: https://developer.mozilla.org/en-US/docs/Web/API/CloseEvent