mirror of
https://gitea.invidious.io/iv-org/litespeed-quic.git
synced 2024-08-15 00:53:43 +00:00
Merge pull request #36 from dtikhonov/201805181116-fix-win-build
201805181116 fix win build
This commit is contained in:
commit
42e2bac71d
2 changed files with 2 additions and 7 deletions
|
@ -1164,7 +1164,7 @@ process_stream_frame (struct full_conn *conn, lsquic_packet_in_t *packet_in,
|
|||
{
|
||||
if (!(conn->fc_flags & FC_ABORT_COMPLAINED))
|
||||
{
|
||||
enum stream_count counts[N_SCNTS];
|
||||
unsigned counts[N_SCNTS];
|
||||
collect_stream_counts(conn, 1, counts);
|
||||
ABORT_WARN("incoming stream would exceed limit: %u. "
|
||||
"all: %u; peer: %u; closed: %u; reset: %u; reset "
|
||||
|
@ -3134,7 +3134,7 @@ find_stream_on_non_stream_frame (struct full_conn *conn, uint32_t stream_id,
|
|||
{
|
||||
if (!(conn->fc_flags & FC_ABORT_COMPLAINED))
|
||||
{
|
||||
enum stream_count counts[N_SCNTS];
|
||||
unsigned counts[N_SCNTS];
|
||||
collect_stream_counts(conn, 1, counts);
|
||||
ABORT_WARN("incoming %s for stream %u would exceed "
|
||||
"limit: %u. all: %u; peer: %u; closed: %u; reset: %u; reset "
|
||||
|
|
|
@ -49,11 +49,6 @@
|
|||
# define CLOSE_SOCKET close
|
||||
# define CHAR_CAST
|
||||
#else
|
||||
|
||||
/* XXX detect these using cmake? */
|
||||
# define HAVE_IP_DONTFRAG 1
|
||||
# define HAVE_IP_MTU_DISCOVER 1
|
||||
|
||||
# define SOCKET_TYPE SOCKET
|
||||
# define CLOSE_SOCKET closesocket
|
||||
# define CHAR_CAST (char *)
|
||||
|
|
Loading…
Reference in a new issue