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
22af8e78
Commit
22af8e78
authored
Dec 29, 2020
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Require python3 for python bindings
parent
c88e9100
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
configure.ac
configure.ac
+2
-2
python/Makefile.am
python/Makefile.am
+1
-1
python/hpackcheck.py
python/hpackcheck.py
+1
-1
python/hpackmake.py
python/hpackmake.py
+1
-1
python/nghttp2.pyx
python/nghttp2.pyx
+2
-2
No files found.
configure.ac
View file @
22af8e78
...
@@ -151,7 +151,7 @@ AC_PROG_MKDIR_P
...
@@ -151,7 +151,7 @@ AC_PROG_MKDIR_P
PKG_PROG_PKG_CONFIG([0.20])
PKG_PROG_PKG_CONFIG([0.20])
AM_PATH_PYTHON([
2.7
],, [:])
AM_PATH_PYTHON([
3.8
],, [:])
if [test "x$request_lib_only" = "xyes"]; then
if [test "x$request_lib_only" = "xyes"]; then
request_app=no
request_app=no
...
@@ -161,7 +161,7 @@ if [test "x$request_lib_only" = "xyes"]; then
...
@@ -161,7 +161,7 @@ if [test "x$request_lib_only" = "xyes"]; then
fi
fi
if [test "x$request_python_bindings" != "xno"]; then
if [test "x$request_python_bindings" != "xno"]; then
AX_PYTHON_DEVEL([>= '
2.7
'])
AX_PYTHON_DEVEL([>= '
3.8
'])
fi
fi
if test "x${cython_path}" = "x"; then
if test "x${cython_path}" = "x"; then
...
...
python/Makefile.am
View file @
22af8e78
...
@@ -44,6 +44,6 @@ clean-local:
...
@@ -44,6 +44,6 @@ clean-local:
-
rm
-f
$(builddir)
/nghttp2.c
-
rm
-f
$(builddir)
/nghttp2.c
.pyx.c
:
.pyx.c
:
$(CYTHON)
-o
$@
$<
$(CYTHON)
-
3
-
o
$@
$<
endif
# ENABLE_PYTHON_BINDINGS
endif
# ENABLE_PYTHON_BINDINGS
python/hpackcheck.py
View file @
22af8e78
#!/usr/bin/env python
#!/usr/bin/env python
3
#
#
# This script reads json files given in the command-line (each file
# This script reads json files given in the command-line (each file
# must be written in the format described in
# must be written in the format described in
...
...
python/hpackmake.py
View file @
22af8e78
#!/usr/bin/env python
#!/usr/bin/env python
3
#
#
# This script reads input headers from json file given in the
# This script reads input headers from json file given in the
# command-line (each file must be written in the format described in
# command-line (each file must be written in the format described in
...
...
python/nghttp2.pyx
View file @
22af8e78
...
@@ -857,7 +857,7 @@ cdef class _HTTP2SessionCore(_HTTP2SessionCoreBase):
...
@@ -857,7 +857,7 @@ cdef class _HTTP2SessionCore(_HTTP2SessionCoreBase):
rv
=
cnghttp2
.
nghttp2_submit_settings
(
self
.
session
,
rv
=
cnghttp2
.
nghttp2_submit_settings
(
self
.
session
,
cnghttp2
.
NGHTTP2_FLAG_NONE
,
cnghttp2
.
NGHTTP2_FLAG_NONE
,
iv
,
sizeof
(
iv
)
/
sizeof
(
iv
[
0
]))
iv
,
sizeof
(
iv
)
/
/
sizeof
(
iv
[
0
]))
if
rv
!=
0
:
if
rv
!=
0
:
raise
Exception
(
'nghttp2_submit_settings failed: {}'
.
format
\
raise
Exception
(
'nghttp2_submit_settings failed: {}'
.
format
\
...
@@ -971,7 +971,7 @@ cdef class _HTTP2ClientSessionCore(_HTTP2SessionCoreBase):
...
@@ -971,7 +971,7 @@ cdef class _HTTP2ClientSessionCore(_HTTP2SessionCoreBase):
rv
=
cnghttp2
.
nghttp2_submit_settings
(
self
.
session
,
rv
=
cnghttp2
.
nghttp2_submit_settings
(
self
.
session
,
cnghttp2
.
NGHTTP2_FLAG_NONE
,
cnghttp2
.
NGHTTP2_FLAG_NONE
,
iv
,
sizeof
(
iv
)
/
sizeof
(
iv
[
0
]))
iv
,
sizeof
(
iv
)
/
/
sizeof
(
iv
[
0
]))
if
rv
!=
0
:
if
rv
!=
0
:
raise
Exception
(
'nghttp2_submit_settings failed: {}'
.
format
\
raise
Exception
(
'nghttp2_submit_settings failed: {}'
.
format
\
...
...
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