forked from Telodendria/Cytoplasm
Compare commits
4 Commits
mem-moment
...
master
Author | SHA1 | Date |
---|---|---|
|
c3646294f5 | |
|
61b5430efe | |
![]() |
b3be10e112 | |
![]() |
b284fb607a |
|
@ -621,7 +621,7 @@ HttpParseHeaders(Stream * fp)
|
|||
|
||||
strncpy(headerValue, headerPtr, len);
|
||||
|
||||
HashMapSet(headers, headerKey, headerValue);
|
||||
Free(HashMapSet(headers, headerKey, headerValue));
|
||||
Free(headerKey);
|
||||
}
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ TlsInitClient(int fd, const char *serverName)
|
|||
|
||||
cookie->method = TLS_client_method();
|
||||
cookie->ctx = SSL_CTX_new(cookie->method);
|
||||
coolie->fd = fd;
|
||||
cookie->fd = fd;
|
||||
if (!cookie->ctx)
|
||||
{
|
||||
goto error;
|
||||
|
|
Loading…
Reference in New Issue