README.md: fix typo: is_drainig -> is_draining

This commit is contained in:
Christopher Simons committed 2021-02-02 22:17:15 -05:00
1 parent ed1a98c381
commit 421bc126b5
1 file changed
+2 -2
+2 -2
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: