mirror of
https://github.com/curl/curl.git
synced 2026-08-03 15:30:50 +03:00
parent
d087a7e4ec
commit
db13c08c58
2 changed files with 4 additions and 4 deletions
|
|
@ -84,7 +84,7 @@ void Curl_ssl_scache_lock(struct Curl_easy *data);
|
|||
/* Unlock session cache mutex */
|
||||
void Curl_ssl_scache_unlock(struct Curl_easy *data);
|
||||
|
||||
/* Get TLS session object from the cache for the ssl_peer_ey.
|
||||
/* Get TLS session object from the cache for the ssl_peer_key.
|
||||
* scache mutex must be locked (see Curl_ssl_scache_lock).
|
||||
* Caller must make sure that the ownership of returned session object
|
||||
* is properly taken (e.g. its refcount is incremented
|
||||
|
|
|
|||
6
lib/ws.c
6
lib/ws.c
|
|
@ -116,8 +116,8 @@ struct ws_cntrl_frame {
|
|||
* and keep track of boundaries. */
|
||||
struct websocket {
|
||||
struct Curl_easy *data; /* used for write callback handling */
|
||||
struct ws_decoder dec; /* decode of we frames */
|
||||
struct ws_encoder enc; /* decode of we frames */
|
||||
struct ws_decoder dec; /* decode of ws frames */
|
||||
struct ws_encoder enc; /* decode of ws frames */
|
||||
struct bufq recvbuf; /* raw data from the server */
|
||||
struct bufq sendbuf; /* raw data to be sent to the server */
|
||||
struct curl_ws_frame recvframe; /* the current WS FRAME received */
|
||||
|
|
@ -1409,7 +1409,7 @@ CURLcode Curl_ws_accept(struct Curl_easy *data,
|
|||
goto out;
|
||||
|
||||
if(!data->set.ws_raw_mode) {
|
||||
/* Add our client readerr encoding WS BINARY frames */
|
||||
/* Add our client reader encoding WS BINARY frames */
|
||||
result = Curl_creader_create(&ws_enc_reader, data, &ws_cr_encode,
|
||||
CURL_CR_CONTENT_ENCODE);
|
||||
if(result)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue