mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Try something else
This commit is contained in:
parent
ee8b3d347f
commit
8beccbc3b6
2 changed files with 2 additions and 1 deletions
|
@ -1038,8 +1038,10 @@ http_server_on_close (lsquic_stream_t *stream, lsquic_stream_ctx_t *st_h)
|
||||||
free(st_h->req_path);
|
free(st_h->req_path);
|
||||||
if (st_h->reader.lsqr_ctx)
|
if (st_h->reader.lsqr_ctx)
|
||||||
destroy_lsquic_reader_ctx(st_h->reader.lsqr_ctx);
|
destroy_lsquic_reader_ctx(st_h->reader.lsqr_ctx);
|
||||||
|
#if HAVE_PREADV
|
||||||
if (s_pwritev)
|
if (s_pwritev)
|
||||||
close(st_h->file_fd);
|
close(st_h->file_fd);
|
||||||
|
#endif
|
||||||
if (st_h->req)
|
if (st_h->req)
|
||||||
interop_server_hset_destroy(st_h->req);
|
interop_server_hset_destroy(st_h->req);
|
||||||
free(st_h);
|
free(st_h);
|
||||||
|
|
|
@ -11,7 +11,6 @@ struct iovec {
|
||||||
#define strncasecmp _strnicmp
|
#define strncasecmp _strnicmp
|
||||||
#define strdup _strdup
|
#define strdup _strdup
|
||||||
#define PATH_MAX MAX_PATH
|
#define PATH_MAX MAX_PATH
|
||||||
#define close _close
|
|
||||||
|
|
||||||
#define posix_memalign(p, a, s) (((*(p)) = _aligned_malloc((s), (a))), *(p) ?0 :errno)
|
#define posix_memalign(p, a, s) (((*(p)) = _aligned_malloc((s), (a))), *(p) ?0 :errno)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue