Merge pull request #36 from dtikhonov/201805181116-fix-win-build

201805181116 fix win build
This commit is contained in:
LiteSpeed Tech 2018-05-18 11:54:53 -04:00 committed by GitHub
commit 42e2bac71d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -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 "

View file

@ -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 *)