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

lib: Spelling fixes based on debian packaging

This commit is contained in:
Pavel Shramov 2017-11-27 18:09:47 +03:00 committed by Andy Green
parent 1177c20a59
commit 0d51381faf
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

@ -750,7 +750,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 */
@ -761,7 +761,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

@ -1073,7 +1073,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* */
LWS_CALLBACK_OPENSSL_PERFORM_CLIENT_CERT_VERIFICATION = 23,
@ -4808,7 +4808,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.