Skip to content

Commit 834fa8f

Browse files
committed
deps: add ngtcp2 and nghttp3
Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: #32379 Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent f96b981 commit 834fa8f

File tree

129 files changed

+53803
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

129 files changed

+53803
-0
lines changed

deps/nghttp3/COPYING

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License
2+
3+
Copyright (c) 2019 nghttp3 contributors
4+
5+
Permission is hereby granted, free of charge, to any person obtaining
6+
a copy of this software and associated documentation files (the
7+
"Software"), to deal in the Software without restriction, including
8+
without limitation the rights to use, copy, modify, merge, publish,
9+
distribute, sublicense, and/or sell copies of the Software, and to
10+
permit persons to whom the Software is furnished to do so, subject to
11+
the following conditions:
12+
13+
The above copyright notice and this permission notice shall be
14+
included in all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

deps/nghttp3/lib/includes/config.h

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
/* Edited to match src/node.h. */
3+
#include <stdint.h>
4+
5+
#ifdef _WIN32
6+
#if !defined(_SSIZE_T_) && !defined(_SSIZE_T_DEFINED)
7+
typedef intptr_t ssize_t;
8+
# define _SSIZE_T_
9+
# define _SSIZE_T_DEFINED
10+
#endif
11+
#else // !_WIN32
12+
# include <sys/types.h> // size_t, ssize_t
13+
#endif // _WIN32
14+
15+
#ifdef _MSC_VER
16+
# include <intrin.h>
17+
# define __builtin_popcount __popcnt
18+
#endif
19+
20+
/* Define to 1 to enable debug output. */
21+
/* #undef DEBUGBUILD */
22+
23+
/* Define to 1 if you have the <arpa/inet.h> header file. */
24+
/* #undef HAVE_ARPA_INET_H */
25+
26+
/* Define to 1 if you have the <stddef.h> header file. */
27+
#define HAVE_STDDEF_H 1
28+
29+
/* Define to 1 if you have the <stdint.h> header file. */
30+
#define HAVE_STDINT_H 1
31+
32+
/* Define to 1 if you have the <stdlib.h> header file. */
33+
#define HAVE_STDLIB_H 1
34+
35+
/* Define to 1 if you have the <string.h> header file. */
36+
#define HAVE_STRING_H 1
37+
38+
/* Define to 1 if you have the <unistd.h> header file. */
39+
/* #undef HAVE_UNISTD_H */

0 commit comments

Comments
 (0)