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
2dd44746
Commit
2dd44746
authored
Oct 28, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into hpack-exp
parents
924c858c
5d5a6416
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
Makefile.am
Makefile.am
+1
-1
configure.ac
configure.ac
+1
-1
tests/nghttp2_session_test.c
tests/nghttp2_session_test.c
+4
-3
No files found.
Makefile.am
View file @
2dd44746
...
@@ -26,4 +26,4 @@ ACLOCAL_AMFLAGS = -I m4
...
@@ -26,4 +26,4 @@ ACLOCAL_AMFLAGS = -I m4
dist_doc_DATA
=
README.rst
dist_doc_DATA
=
README.rst
EXTRA_DIST
=
shr
px.conf.sample proxy.pac.sample android-config android-make
EXTRA_DIST
=
nghtt
px.conf.sample proxy.pac.sample android-config android-make
configure.ac
View file @
2dd44746
...
@@ -21,7 +21,7 @@ dnl LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
...
@@ -21,7 +21,7 @@ dnl LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
dnl OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
dnl OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
dnl WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
dnl WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
AC_PREREQ(2.61)
AC_PREREQ(2.61)
AC_INIT([nghttp2], [0.1.0
-DEV
], [t-tujikawa@users.sourceforge.net])
AC_INIT([nghttp2], [0.1.0], [t-tujikawa@users.sourceforge.net])
LT_PREREQ([2.2.6])
LT_PREREQ([2.2.6])
LT_INIT()
LT_INIT()
dnl See versioning rule:
dnl See versioning rule:
...
...
tests/nghttp2_session_test.c
View file @
2dd44746
...
@@ -3536,7 +3536,8 @@ void test_nghttp2_session_set_option(void)
...
@@ -3536,7 +3536,8 @@ void test_nghttp2_session_set_option(void)
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
,
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
,
&
sszval
,
sizeof
(
sszval
)));
&
sszval
,
sizeof
(
sszval
)));
CU_ASSERT
(
sszval
==
CU_ASSERT
(
sszval
==
session
->
remote_settings
[
NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS
]);
(
ssize_t
)
session
->
remote_settings
[
NGHTTP2_SETTINGS_MAX_CONCURRENT_STREAMS
]);
sszval
=
0
;
sszval
=
0
;
CU_ASSERT
(
NGHTTP2_ERR_INVALID_ARGUMENT
==
CU_ASSERT
(
NGHTTP2_ERR_INVALID_ARGUMENT
==
...
@@ -3545,12 +3546,12 @@ void test_nghttp2_session_set_option(void)
...
@@ -3545,12 +3546,12 @@ void test_nghttp2_session_set_option(void)
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
,
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
,
&
sszval
,
sizeof
(
sszval
)));
&
sszval
,
sizeof
(
sszval
)));
int
val
=
100
;
char
val
=
100
;
CU_ASSERT
(
NGHTTP2_ERR_INVALID_ARGUMENT
==
CU_ASSERT
(
NGHTTP2_ERR_INVALID_ARGUMENT
==
nghttp2_session_set_option
nghttp2_session_set_option
(
session
,
(
session
,
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
,
NGHTTP2_OPT_PEER_MAX_CONCURRENT_STREAMS
,
&
intval
,
sizeof
(
int
val
)));
&
charval
,
sizeof
(
char
val
)));
nghttp2_session_del
(
session
);
nghttp2_session_del
(
session
);
}
}
...
...
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