Fixed handling of incoming application data after sending a close_notify (data shall be discarded silently, not trigger an error). Also fixed a couple of bugs in the command-line test tool.
This commit is contained in:
parent
2f7a003698
commit
968da0f646
9 changed files with 493 additions and 456 deletions
|
|
@ -823,8 +823,11 @@ typedef struct {
|
|||
} out;
|
||||
|
||||
/*
|
||||
* The "application data" flag. It is set when application data
|
||||
* can be exchanged, cleared otherwise.
|
||||
* The "application data" flag. Value:
|
||||
* 0 handshake is in process, no application data acceptable
|
||||
* 1 application data can be sent and received
|
||||
* 2 closing, no application data can be sent, but some
|
||||
* can still be received (and discarded)
|
||||
*/
|
||||
unsigned char application_data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue