fix for fix for ignoring shotgunned induction handshake
This commit is contained in:
parent
6fa6482162
commit
6274e7a679
1 changed files with 2 additions and 1 deletions
|
@ -146,11 +146,12 @@ func (agent *SRTManager) create_conclusion_resp() (*Packet) {
|
||||||
func (agent *SRTManager) process_conclusion(packet *Packet) (*Packet) {
|
func (agent *SRTManager) process_conclusion(packet *Packet) (*Packet) {
|
||||||
resp_packet := agent.create_conclusion_resp()
|
resp_packet := agent.create_conclusion_resp()
|
||||||
if packet.packet_type == HANDSHAKE {
|
if packet.packet_type == HANDSHAKE {
|
||||||
|
hs_cif := packet.cif.(*HandshakeCIF)
|
||||||
|
|
||||||
// allow previous shotgunned induction requests to dissipate
|
// allow previous shotgunned induction requests to dissipate
|
||||||
if hs_cif.hs_type != 0xffffffff {
|
if hs_cif.hs_type != 0xffffffff {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
hs_cif := packet.cif.(*HandshakeCIF)
|
|
||||||
if hs_cif.syn_cookie == agent.syn_cookie {
|
if hs_cif.syn_cookie == agent.syn_cookie {
|
||||||
for _, v := range hs_cif.hs_extensions {
|
for _, v := range hs_cif.hs_extensions {
|
||||||
// force client to add a stream_id for output location
|
// force client to add a stream_id for output location
|
||||||
|
|
Loading…
Reference in a new issue