Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Dmitri Tikhonov committed Oct 28, 2020
1 parent 4429f8e commit 821ffbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/http_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -1038,8 +1038,10 @@ http_server_on_close (lsquic_stream_t *stream, lsquic_stream_ctx_t *st_h)
free(st_h->req_path);
if (st_h->reader.lsqr_ctx)
destroy_lsquic_reader_ctx(st_h->reader.lsqr_ctx);
#if HAVE_PREADV
if (s_pwritev)
close(st_h->file_fd);
#endif
if (st_h->req)
interop_server_hset_destroy(st_h->req);
free(st_h);
Expand Down

0 comments on commit 821ffbb

Please sign in to comment.