Merge pull request #1213 from csimons/drainig

README.md: fix typo: is_drainig -> is_draining
This commit is contained in:
Sergey Lyubka 2021-02-03 08:30:55 +00:00 committed by GitHub
commit acc0564957
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,10 +159,10 @@ enum {
they can be either 0 or 1. Some flags are set by Mongoose and must be not they can be either 0 or 1. Some flags are set by Mongoose and must be not
changed by an application code, for example `is_udp` flag tells application if changed by an application code, for example `is_udp` flag tells application if
that connection is UDP or not. Some flags can be changed by application, for that connection is UDP or not. Some flags can be changed by application, for
example, `is_drainig` flag, if set by an application, tells Mongoose to send example, `is_draining` flag, if set by an application, tells Mongoose to send
the remaining data to peer, and when everything is sent, close the connection. the remaining data to peer, and when everything is sent, close the connection.
User-changeable flags are: `is_hexdumping`, `is_drainig`, `is_closing`. User-changeable flags are: `is_hexdumping`, `is_draining`, `is_closing`.
This is taken from `mongoose.h` as-is: This is taken from `mongoose.h` as-is: