Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
97e69f74
Commit
97e69f74
authored
Jan 16, 2022
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rex4539-typos'
parents
8a552631
ad0c9eeb
Changes
36
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
45 additions
and
44 deletions
+45
-44
CMakeLists.txt
CMakeLists.txt
+1
-1
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+1
-1
doc/_exts/rubydomain/rubydomain.py
doc/_exts/rubydomain/rubydomain.py
+1
-1
integration-tests/nghttpx_http1_test.go
integration-tests/nghttpx_http1_test.go
+4
-3
lib/nghttp2_buf.h
lib/nghttp2_buf.h
+1
-1
lib/nghttp2_frame.h
lib/nghttp2_frame.h
+1
-1
lib/nghttp2_net.h
lib/nghttp2_net.h
+1
-1
lib/nghttp2_outbound_item.h
lib/nghttp2_outbound_item.h
+1
-1
lib/nghttp2_pq.h
lib/nghttp2_pq.h
+1
-1
lib/nghttp2_session.c
lib/nghttp2_session.c
+1
-1
lib/nghttp2_session.h
lib/nghttp2_session.h
+1
-1
lib/nghttp2_stream.c
lib/nghttp2_stream.c
+1
-1
python/nghttp2.pyx
python/nghttp2.pyx
+2
-2
src/h2load.cc
src/h2load.cc
+1
-1
src/http2_test.cc
src/http2_test.cc
+1
-1
src/shrpx_api_downstream_connection.cc
src/shrpx_api_downstream_connection.cc
+1
-1
src/shrpx_api_downstream_connection.h
src/shrpx_api_downstream_connection.h
+1
-1
src/shrpx_config.cc
src/shrpx_config.cc
+1
-1
src/shrpx_config.h
src/shrpx_config.h
+1
-1
src/shrpx_connection.cc
src/shrpx_connection.cc
+2
-2
src/shrpx_connection_handler.h
src/shrpx_connection_handler.h
+1
-1
src/shrpx_dns_resolver.h
src/shrpx_dns_resolver.h
+1
-1
src/shrpx_downstream_connection.h
src/shrpx_downstream_connection.h
+1
-1
src/shrpx_health_monitor_downstream_connection.cc
src/shrpx_health_monitor_downstream_connection.cc
+1
-1
src/shrpx_health_monitor_downstream_connection.h
src/shrpx_health_monitor_downstream_connection.h
+1
-1
src/shrpx_http2_downstream_connection.h
src/shrpx_http2_downstream_connection.h
+1
-1
src/shrpx_http2_session.cc
src/shrpx_http2_session.cc
+2
-2
src/shrpx_http2_upstream.cc
src/shrpx_http2_upstream.cc
+2
-2
src/shrpx_http3_upstream.cc
src/shrpx_http3_upstream.cc
+1
-1
src/shrpx_null_downstream_connection.cc
src/shrpx_null_downstream_connection.cc
+1
-1
src/shrpx_null_downstream_connection.h
src/shrpx_null_downstream_connection.h
+1
-1
src/shrpx_worker.h
src/shrpx_worker.h
+1
-1
src/util.h
src/util.h
+1
-1
tests/nghttp2_session_test.c
tests/nghttp2_session_test.c
+3
-3
third-party/build_config.rb
third-party/build_config.rb
+1
-1
No files found.
CMakeLists.txt
View file @
97e69f74
...
...
@@ -179,7 +179,7 @@ endif()
# case "$host" in
# *android*)
# android_build=yes
# # android does not need -pthread, but needs followng 3 libs for C++
# # android does not need -pthread, but needs follow
i
ng 3 libs for C++
# APPLDFLAGS="$APPLDFLAGS -lstdc++ -latomic -lsupc++"
# dl: openssl requires libdl when it is statically linked.
...
...
Makefile.am
View file @
97e69f74
...
...
@@ -55,7 +55,7 @@ EXTRA_DIST = nghttpx.conf.sample proxy.pac.sample android-config android-make \
.PHONY
:
clang-format
# Format source files using clang-format. Don't format source files
# under third-party directory since we are not responsible for th
ie
r
# under third-party directory since we are not responsible for th
ei
r
# coding style.
clang-format
:
CLANGFORMAT
=
`
git config
--get
clangformat.binary
`
;
\
...
...
configure.ac
View file @
97e69f74
...
...
@@ -349,7 +349,7 @@ APPLDFLAGS=
case "$host_os" in
*android*)
android_build=yes
# android does not need -pthread, but needs followng 3 libs for C++
# android does not need -pthread, but needs follow
i
ng 3 libs for C++
APPLDFLAGS="$APPLDFLAGS -lstdc++ -latomic -lsupc++"
;;
*)
...
...
doc/_exts/rubydomain/rubydomain.py
View file @
97e69f74
...
...
@@ -493,7 +493,7 @@ class RubyModuleIndex(Index):
# list of all modules, sorted by module name
modules
=
sorted
(
_iteritems
(
self
.
domain
.
data
[
'modules'
]),
key
=
lambda
x
:
x
[
0
].
lower
())
# sort out collaps
a
ble modules
# sort out collaps
i
ble modules
prev_modname
=
''
num_toplevels
=
0
for
modname
,
(
docname
,
synopsis
,
platforms
,
deprecated
)
in
modules
:
...
...
integration-tests/nghttpx_http1_test.go
View file @
97e69f74
...
...
@@ -5,14 +5,15 @@ import (
"bytes"
"encoding/json"
"fmt"
"golang.org/x/net/http2/hpack"
"golang.org/x/net/websocket"
"io"
"net/http"
"regexp"
"syscall"
"testing"
"time"
"golang.org/x/net/http2/hpack"
"golang.org/x/net/websocket"
)
// TestH1H1PlainGET tests whether simple HTTP/1 GET request works.
...
...
@@ -34,7 +35,7 @@ func TestH1H1PlainGET(t *testing.T) {
}
// TestH1H1PlainGETClose tests whether simple HTTP/1 GET request with
// Connetion: close request header field works.
// Conne
c
tion: close request header field works.
func
TestH1H1PlainGETClose
(
t
*
testing
.
T
)
{
st
:=
newServerTester
(
nil
,
t
,
noopHandler
)
defer
st
.
Close
()
...
...
lib/nghttp2_buf.h
View file @
97e69f74
...
...
@@ -99,7 +99,7 @@ void nghttp2_buf_free(nghttp2_buf *buf, nghttp2_mem *mem);
* |new_cap|. If extensions took place, buffer pointers in |buf| will
* change.
*
* This function returns 0 if it succeeds, or one of the following
s
* This function returns 0 if it succeeds, or one of the following
* negative error codes:
*
* NGHTTP2_ERR_NOMEM
...
...
lib/nghttp2_frame.h
View file @
97e69f74
...
...
@@ -46,7 +46,7 @@
#define NGHTTP2_MAX_FRAME_SIZE_MIN (1 << 14)
#define NGHTTP2_MAX_PAYLOADLEN 16384
/* The one frame buffer length for tranmission. We may use several of
/* The one frame buffer length for tran
s
mission. We may use several of
them to support CONTINUATION. To account for Pad Length field, we
allocate extra 1 byte, which saves extra large memcopying. */
#define NGHTTP2_FRAMEBUF_CHUNKLEN \
...
...
lib/nghttp2_net.h
View file @
97e69f74
...
...
@@ -42,7 +42,7 @@
#if defined(WIN32)
/* Windows requires ws2_32 library for ntonl family functions. We
define inline functions for those function so that we don't have
dependeny on that lib. */
dependen
c
y on that lib. */
# ifdef _MSC_VER
# define STIN static __inline
...
...
lib/nghttp2_outbound_item.h
View file @
97e69f74
...
...
@@ -111,7 +111,7 @@ struct nghttp2_outbound_item {
to this structure to avoid frequent memory allocation. */
nghttp2_ext_frame_payload
ext_frame_payload
;
nghttp2_aux_data
aux_data
;
/* The priority used in priority comparion. Smaller is served
/* The priority used in priority compari
s
on. Smaller is served
earlier. For PING, SETTINGS and non-DATA frames (excluding
response HEADERS frame) have dedicated cycle value defined above.
For DATA frame, cycle is computed by taking into account of
...
...
lib/nghttp2_pq.h
View file @
97e69f74
...
...
@@ -114,7 +114,7 @@ typedef int (*nghttp2_pq_item_cb)(nghttp2_pq_entry *item, void *arg);
void
nghttp2_pq_update
(
nghttp2_pq
*
pq
,
nghttp2_pq_item_cb
fun
,
void
*
arg
);
/*
* Appl
y
s |fun| to each item in |pq|. The |arg| is passed as arg
* Appl
ie
s |fun| to each item in |pq|. The |arg| is passed as arg
* parameter to callback function. This function must not change the
* ordering key. If the return value from callback is nonzero, this
* function returns 1 immediately without iterating remaining items.
...
...
lib/nghttp2_session.c
View file @
97e69f74
...
...
@@ -5341,7 +5341,7 @@ static ssize_t inbound_frame_compute_pad(nghttp2_inbound_frame *iframe) {
/*
* This function returns the effective payload length in the data of
* length |readlen| when the remaning payload is |payloadleft|. The
* length |readlen| when the rema
i
ning payload is |payloadleft|. The
* |payloadleft| does not include |readlen|. If padding was started
* strictly before this data chunk, this function returns -1.
*/
...
...
lib/nghttp2_session.h
View file @
97e69f74
...
...
@@ -408,7 +408,7 @@ int nghttp2_session_add_rst_stream(nghttp2_session *session, int32_t stream_id,
uint32_t
error_code
);
/*
* Adds PING frame. This is a convenient functin built on top of
* Adds PING frame. This is a convenient functi
o
n built on top of
* nghttp2_session_add_frame() to add PING easily.
*
* If the |opaque_data| is not NULL, it must point to 8 bytes memory
...
...
lib/nghttp2_stream.c
View file @
97e69f74
...
...
@@ -33,7 +33,7 @@
#include "nghttp2_frame.h"
/* Maximum distance between any two stream's cycle in the same
pri
r
ority queue. Imagine stream A's cycle is A, and stream B's
priority queue. Imagine stream A's cycle is A, and stream B's
cycle is B, and A < B. The cycle is unsigned 32 bit integer, it
may get overflow. Because of how we calculate the next cycle
value, if B - A is less than or equals to
...
...
python/nghttp2.pyx
View file @
97e69f74
...
...
@@ -701,7 +701,7 @@ cdef class _HTTP2SessionCoreBase:
if
outbuflen
==
0
:
break
if
outbuflen
<
0
:
raise
Exception
(
'nghttp2_session_mem_send faild: {}'
.
format
\
raise
Exception
(
'nghttp2_session_mem_send fail
e
d: {}'
.
format
\
(
_strerror
(
outbuflen
)))
self
.
transport
.
write
(
outbuf
[:
outbuflen
])
...
...
@@ -1083,7 +1083,7 @@ if asyncio:
address.
client_certificate
May contain the client certifcate in its non-binary form
May contain the client certif
i
cate in its non-binary form
stream_id
Stream ID of this stream
...
...
src/h2load.cc
View file @
97e69f74
...
...
@@ -2128,7 +2128,7 @@ Options:
-H, --header=<HEADER>
Add/Override a header to the requests.
--ciphers=<SUITE>
Set allowed cipher list for TLSv1.2 or ealier. The
Set allowed cipher list for TLSv1.2 or ea
r
lier. The
format of the string is described in OpenSSL ciphers(1).
Default: )"
<<
config
.
ciphers
<<
R"(
...
...
src/http2_test.cc
View file @
97e69f74
...
...
@@ -916,7 +916,7 @@ void test_http2_rewrite_clean_path(void) {
CU_ASSERT
(
"/delta%3A"
==
http2
::
rewrite_clean_path
(
balloc
,
StringRef
::
from_lit
(
"/delta%3a"
)));
// path component is normalized before mat
hc
ing
// path component is normalized before mat
ch
ing
CU_ASSERT
(
"/alpha/bravo/"
==
http2
::
rewrite_clean_path
(
...
...
src/shrpx_api_downstream_connection.cc
View file @
97e69f74
...
...
@@ -463,7 +463,7 @@ int APIDownstreamConnection::on_read() { return 0; }
int
APIDownstreamConnection
::
on_write
()
{
return
0
;
}
void
APIDownstreamConnection
::
on_upstream_change
(
Upstream
*
uptream
)
{}
void
APIDownstreamConnection
::
on_upstream_change
(
Upstream
*
up
s
tream
)
{}
bool
APIDownstreamConnection
::
poolable
()
const
{
return
false
;
}
...
...
src/shrpx_api_downstream_connection.h
View file @
97e69f74
...
...
@@ -81,7 +81,7 @@ public:
virtual
int
on_read
();
virtual
int
on_write
();
virtual
void
on_upstream_change
(
Upstream
*
uptream
);
virtual
void
on_upstream_change
(
Upstream
*
up
s
tream
);
// true if this object is poolable.
virtual
bool
poolable
()
const
;
...
...
src/shrpx_config.cc
View file @
97e69f74
...
...
@@ -4463,7 +4463,7 @@ int configure_downstream_group(Config *config, bool http2_proxy,
if
(
!
g
.
mruby_file
.
empty
())
{
if
(
mruby
::
create_mruby_context
(
g
.
mruby_file
)
==
nullptr
)
{
LOG
(
config
->
ignore_per_pattern_mruby_error
?
ERROR
:
FATAL
)
<<
"backend: Could not compile mruby f
li
e for pattern "
<<
"backend: Could not compile mruby f
il
e for pattern "
<<
g
.
pattern
;
if
(
!
config
->
ignore_per_pattern_mruby_error
)
{
return
-
1
;
...
...
src/shrpx_config.h
View file @
97e69f74
...
...
@@ -691,7 +691,7 @@ struct TLSConfig {
ev_tstamp
idle_timeout
;
}
dyn_rec
;
// OCSP re
al
ted configurations
// OCSP re
la
ted configurations
struct
{
ev_tstamp
update_interval
;
StringRef
fetch_ocsp_response_file
;
...
...
src/shrpx_connection.cc
View file @
97e69f74
...
...
@@ -753,7 +753,7 @@ ssize_t Connection::write_tls(const void *data, size_t len) {
// length) on SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE.
// get_write_limit() may return smaller length than previously
// passed to SSL_write, which violates OpenSSL assumption. To avoid
// this, we keep last le
gn
th passed to SSL_write to
// this, we keep last le
ng
th passed to SSL_write to
// tls.last_writelen if SSL_write indicated I/O blocking.
if
(
tls
.
last_writelen
==
0
)
{
len
=
std
::
min
(
len
,
wlimit
.
avail
());
...
...
@@ -831,7 +831,7 @@ ssize_t Connection::read_tls(void *data, size_t len) {
// length) on SSL_ERROR_WANT_READ or SSL_ERROR_WANT_WRITE.
// rlimit_.avail() or rlimit_.avail() may return different length
// than the length previously passed to SSL_read, which violates
// OpenSSL assumption. To avoid this, we keep last le
gn
th passed
// OpenSSL assumption. To avoid this, we keep last le
ng
th passed
// to SSL_read to tls_last_readlen_ if SSL_read indicated I/O
// blocking.
if
(
tls
.
last_readlen
==
0
)
{
...
...
src/shrpx_connection_handler.h
View file @
97e69f74
...
...
@@ -163,7 +163,7 @@ public:
// Cancels ocsp update process
void
cancel_ocsp_update
();
// Starts ocsp update for certficate |cert_file|.
// Starts ocsp update for cert
i
ficate |cert_file|.
int
start_ocsp_update
(
const
char
*
cert_file
);
// Reads incoming data from ocsp update process
void
read_ocsp_chunk
();
...
...
src/shrpx_dns_resolver.h
View file @
97e69f74
...
...
@@ -88,7 +88,7 @@ public:
int
on_write
(
int
fd
);
int
on_timeout
();
// Calls this function when DNS query finished.
void
on_result
(
int
staus
,
hostent
*
hostent
);
void
on_result
(
int
sta
t
us
,
hostent
*
hostent
);
void
reset_timeout
();
void
start_rev
(
int
fd
);
...
...
src/shrpx_downstream_connection.h
View file @
97e69f74
...
...
@@ -58,7 +58,7 @@ public:
virtual
int
on_write
()
=
0
;
virtual
int
on_timeout
()
{
return
0
;
}
virtual
void
on_upstream_change
(
Upstream
*
uptream
)
=
0
;
virtual
void
on_upstream_change
(
Upstream
*
up
s
tream
)
=
0
;
// true if this object is poolable.
virtual
bool
poolable
()
const
=
0
;
...
...
src/shrpx_health_monitor_downstream_connection.cc
View file @
97e69f74
...
...
@@ -98,7 +98,7 @@ int HealthMonitorDownstreamConnection::on_read() { return 0; }
int
HealthMonitorDownstreamConnection
::
on_write
()
{
return
0
;
}
void
HealthMonitorDownstreamConnection
::
on_upstream_change
(
Upstream
*
uptream
)
{}
void
HealthMonitorDownstreamConnection
::
on_upstream_change
(
Upstream
*
up
s
tream
)
{}
bool
HealthMonitorDownstreamConnection
::
poolable
()
const
{
return
false
;
}
...
...
src/shrpx_health_monitor_downstream_connection.h
View file @
97e69f74
...
...
@@ -49,7 +49,7 @@ public:
virtual
int
on_read
();
virtual
int
on_write
();
virtual
void
on_upstream_change
(
Upstream
*
uptream
);
virtual
void
on_upstream_change
(
Upstream
*
up
s
tream
);
// true if this object is poolable.
virtual
bool
poolable
()
const
;
...
...
src/shrpx_http2_downstream_connection.h
View file @
97e69f74
...
...
@@ -60,7 +60,7 @@ public:
virtual
void
on_upstream_change
(
Upstream
*
upstream
)
{}
// This object is not poolable because we don
t'
have facility to
// This object is not poolable because we don
't
have facility to
// migrate to another Http2Session object.
virtual
bool
poolable
()
const
{
return
false
;
}
...
...
src/shrpx_http2_session.cc
View file @
97e69f74
...
...
@@ -206,13 +206,13 @@ Http2Session::Http2Session(struct ev_loop *loop, SSL_CTX *ssl_ctx,
on_read_
=
&
Http2Session
::
read_noop
;
on_write_
=
&
Http2Session
::
write_noop
;
// We will re
s
use this many times, so use repeat timeout value. The
// We will reuse this many times, so use repeat timeout value. The
// timeout value is set later.
ev_timer_init
(
&
connchk_timer_
,
connchk_timeout_cb
,
0.
,
0.
);
connchk_timer_
.
data
=
this
;
// SETTINGS ACK timeout is 10 seconds for now. We will re
s
use this
// SETTINGS ACK timeout is 10 seconds for now. We will reuse this
// many times, so use repeat timeout value.
ev_timer_init
(
&
settings_timer_
,
settings_timeout_cb
,
0.
,
0.
);
...
...
src/shrpx_http2_upstream.cc
View file @
97e69f74
...
...
@@ -1317,7 +1317,7 @@ int Http2Upstream::downstream_eof(DownstreamConnection *dconn) {
downstream
->
pop_downstream_connection
();
// dconn was deleted
dconn
=
nullptr
;
// downstream wil be deleted in on_stream_close_callback.
// downstream wil
l
be deleted in on_stream_close_callback.
if
(
downstream
->
get_response_state
()
==
DownstreamState
::
HEADER_COMPLETE
)
{
// Server may indicate the end of the request by EOF
if
(
LOG_ENABLED
(
INFO
))
{
...
...
@@ -2183,7 +2183,7 @@ int Http2Upstream::submit_push_promise(const StringRef &scheme,
// 4 for :method, :scheme, :path and :authority
nva
.
reserve
(
4
+
req
.
fs
.
headers
().
size
());
// jus
e
use "GET" for now
// jus
t
use "GET" for now
nva
.
push_back
(
http2
::
make_nv_ll
(
":method"
,
"GET"
));
nva
.
push_back
(
http2
::
make_nv_ls_nocopy
(
":scheme"
,
scheme
));
nva
.
push_back
(
http2
::
make_nv_ls_nocopy
(
":path"
,
path
));
...
...
src/shrpx_http3_upstream.cc
View file @
97e69f74
...
...
@@ -1023,7 +1023,7 @@ int Http3Upstream::downstream_eof(DownstreamConnection *dconn) {
downstream
->
pop_downstream_connection
();
// dconn was deleted
dconn
=
nullptr
;
// downstream wil be deleted in on_stream_close_callback.
// downstream wil
l
be deleted in on_stream_close_callback.
if
(
downstream
->
get_response_state
()
==
DownstreamState
::
HEADER_COMPLETE
)
{
// Server may indicate the end of the request by EOF
if
(
LOG_ENABLED
(
INFO
))
{
...
...
src/shrpx_null_downstream_connection.cc
View file @
97e69f74
...
...
@@ -74,7 +74,7 @@ int NullDownstreamConnection::on_read() { return 0; }
int
NullDownstreamConnection
::
on_write
()
{
return
0
;
}
void
NullDownstreamConnection
::
on_upstream_change
(
Upstream
*
uptream
)
{}
void
NullDownstreamConnection
::
on_upstream_change
(
Upstream
*
up
s
tream
)
{}
bool
NullDownstreamConnection
::
poolable
()
const
{
return
false
;
}
...
...
src/shrpx_null_downstream_connection.h
View file @
97e69f74
...
...
@@ -50,7 +50,7 @@ public:
virtual
int
on_read
();
virtual
int
on_write
();
virtual
void
on_upstream_change
(
Upstream
*
uptream
);
virtual
void
on_upstream_change
(
Upstream
*
up
s
tream
);
// true if this object is poolable.
virtual
bool
poolable
()
const
;
...
...
src/shrpx_worker.h
View file @
97e69f74
...
...
@@ -439,7 +439,7 @@ private:
std
::
shared_ptr
<
TicketKeys
>
ticket_keys_
;
std
::
vector
<
std
::
shared_ptr
<
DownstreamAddrGroup
>>
downstream_addr_groups_
;
// Worker level blocker for downstream connection. For example,
// this is used when file decriptor is exhausted.
// this is used when file de
s
criptor is exhausted.
std
::
unique_ptr
<
ConnectBlocker
>
connect_blocker_
;
bool
graceful_shutdown_
;
...
...
src/util.h
View file @
97e69f74
...
...
@@ -572,7 +572,7 @@ std::string ascii_dump(const uint8_t *data, size_t len);
// Returns absolute path of executable path. If argc == 0 or |cwd| is
// nullptr, this function returns nullptr. If argv[0] starts with
// '/', this function returns argv[0]. Oterwise return cwd + "/" +
// '/', this function returns argv[0]. Ot
h
erwise return cwd + "/" +
// argv[0]. If non-null is returned, it is NULL-terminated string and
// dynamically allocated by malloc. The caller is responsible to free
// it.
...
...
tests/nghttp2_session_test.c
View file @
97e69f74
...
...
@@ -2954,7 +2954,7 @@ void test_nghttp2_session_on_request_headers_received(void) {
session
->
local_settings
.
max_concurrent_streams
=
NGHTTP2_DEFAULT_MAX_CONCURRENT_STREAMS
;
/* Stream ID less than or equal to the previouly received request
/* Stream ID less than or equal to the previou
s
ly received request
HEADERS is just ignored due to race condition */
nghttp2_frame_headers_init
(
&
frame
.
headers
,
NGHTTP2_FLAG_END_HEADERS
|
NGHTTP2_FLAG_PRIORITY
,
...
...
@@ -4650,7 +4650,7 @@ void test_nghttp2_session_reprioritize_stream(void) {
CU_ASSERT
(
10
==
stream
->
weight
);
CU_ASSERT
(
&
session
->
root
==
stream
->
dep_prev
);
/* If depen
ency to idle stream which is not in depden
ency tree yet */
/* If depen
dency to idle stream which is not in depend
ency tree yet */
nghttp2_priority_spec_init
(
&
pri_spec
,
3
,
99
,
0
);
...
...
@@ -9070,7 +9070,7 @@ void test_nghttp2_session_stream_get_state(void) {
CU_ASSERT
(
NGHTTP2_STREAM_STATE_RESERVED_LOCAL
==
nghttp2_stream_get_state
(
stream
));
/* Send respo
sn
e to push stream 2 with END_STREAM set */
/* Send respo
ns
e to push stream 2 with END_STREAM set */
nghttp2_submit_response
(
session
,
2
,
resnv
,
ARRLEN
(
resnv
),
NULL
);
rv
=
nghttp2_session_send
(
session
);
...
...
third-party/build_config.rb
View file @
97e69f74
...
...
@@ -3,7 +3,7 @@ MRuby::Build.new do |conf|
toolchain
:gcc
if
ENV
[
'CC'
].
include?
"gcc"
# C++ project needs this. Without this, mruby exception does not
# properly dest
or
y C++ object allocated on stack.
# properly dest
ro
y C++ object allocated on stack.
conf
.
enable_cxx_exception
conf
.
build_dir
=
ENV
[
'BUILD_DIR'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment