1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

lib: Spelling fixes based on debian packaging

This commit is contained in:
Pavel Shramov 2017-11-28 07:46:22 +08:00 committed by Andy Green
parent 2b30c82b9e
commit 66916394ed
3 changed files with 5 additions and 5 deletions

View file

@ -335,7 +335,7 @@ provide them using "pmo"
}]
}
2) When using a cgi:// protcol origin at a mountpoint, you may also give cgi environment variables specific to the mountpoint like this
2) When using a cgi:// protocol origin at a mountpoint, you may also give cgi environment variables specific to the mountpoint like this
```
{
"mountpoint": "/git",

View file

@ -751,7 +751,7 @@ lws_h2_parse_frame_header(struct lws *wsi)
/* if it's data, either way no swsi means CLOSED state */
if (h2n->type == LWS_H2_FRAME_TYPE_DATA) {
lws_h2_goaway(wsi, H2_ERR_STREAM_CLOSED,
"Data for nonexistant sid");
"Data for nonexistent sid");
return 0;
}
/* if the sid is credible, treat as wsi for it closed */
@ -762,7 +762,7 @@ lws_h2_parse_frame_header(struct lws *wsi)
lwsl_info("%s: wsi %p, No child for sid %d, rx cmd %d\n",
__func__, h2n->swsi, h2n->sid, h2n->type);
lws_h2_goaway(wsi, H2_ERR_STREAM_CLOSED,
"Data for nonexistant sid");
"Data for nonexistent sid");
return 0;
}
}

View file

@ -1075,7 +1075,7 @@ enum lws_callback_reasons {
LWS_CALLBACK_OPENSSL_LOAD_EXTRA_SERVER_VERIFY_CERTS = 22,
/**< if configured for
* including OpenSSL support, this callback allows your user code
* to load extra certifcates into the server which allow it to
* to load extra certificates into the server which allow it to
* verify the validity of certificates returned by clients. user
* is the server's OpenSSL SSL_CTX* and in is the lws_vhost * */
LWS_CALLBACK_OPENSSL_PERFORM_CLIENT_CERT_VERIFICATION = 23,
@ -5249,7 +5249,7 @@ LWS_VISIBLE LWS_EXTERN unsigned long
lws_now_secs(void);
/**
* lws_get_context - Allow geting lws_context from a Websocket connection
* lws_get_context - Allow getting lws_context from a Websocket connection
* instance
*
* With this function, users can access context in the callback function.