mirror of
https://github.com/jeremysrand/Listener.git
synced 2024-12-22 08:29:40 +00:00
Handle a disconnect from the other side during connection establishment.
This commit is contained in:
parent
70d98a135a
commit
cac996788d
@ -7,17 +7,17 @@
|
||||
<key>Archive.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>1</integer>
|
||||
<integer>2</integer>
|
||||
</dict>
|
||||
<key>Binary.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>3</integer>
|
||||
<integer>4</integer>
|
||||
</dict>
|
||||
<key>DiskImage.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>2</integer>
|
||||
<integer>1</integer>
|
||||
</dict>
|
||||
<key>Listener.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
@ -27,7 +27,7 @@
|
||||
<key>doNotBuild.xcscheme_^#shared#^_</key>
|
||||
<dict>
|
||||
<key>orderHint</key>
|
||||
<integer>4</integer>
|
||||
<integer>3</integer>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
|
@ -460,7 +460,8 @@ void handleAwaitingEstablishState(void)
|
||||
break;
|
||||
|
||||
default:
|
||||
enterErrorState("Unexpected TCP state", srBuffer.srState);
|
||||
closeConnection();
|
||||
newState(LISTEN_STATE_AWAITING_CONNECTION);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user