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
08e2d7cd
Commit
08e2d7cd
authored
Feb 14, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Lekensteyn-build-fixes'
parents
093eb51f
25930360
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
15 deletions
+23
-15
doc/Makefile.am
doc/Makefile.am
+9
-5
doc/conf.py.in
doc/conf.py.in
+1
-1
examples/client.c
examples/client.c
+0
-2
examples/tiny-nghttpd.c
examples/tiny-nghttpd.c
+1
-1
integration-tests/Makefile.am
integration-tests/Makefile.am
+6
-2
integration-tests/config.go.in
integration-tests/config.go.in
+1
-0
integration-tests/server_tester.go
integration-tests/server_tester.go
+3
-2
lib/nghttp2_npn.h
lib/nghttp2_npn.h
+2
-2
No files found.
doc/Makefile.am
View file @
08e2d7cd
...
...
@@ -145,15 +145,18 @@ APIDOCS= \
nghttp2_submit_window_update.rst
\
nghttp2_version.rst
EXTRA_DIST
=
\
mkapiref.py
\
RST_FILES
=
\
README.rst
\
programmers-guide.rst
\
$(APIDOCS)
\
nghttp.1.rst
\
nghttpd.1.rst
\
nghttpx.1.rst
\
h2load.1.rst
\
h2load.1.rst
EXTRA_DIST
=
\
mkapiref.py
\
$(RST_FILES)
\
$(APIDOCS)
\
sources/index.rst
\
sources/tutorial-client.rst
\
sources/tutorial-server.rst
\
...
...
@@ -227,7 +230,8 @@ help:
apiref.rst
:
\
$(top_builddir)/lib/includes/nghttp2/nghttp2ver.h
\
$(top_builddir)/lib/includes/nghttp2/nghttp2.h
$(top_srcdir)/lib/includes/nghttp2/nghttp2.h
for
i
in
$(RST_FILES)
;
do
[
-e
$(builddir)
/
$$
i
]
||
cp
$(srcdir)
/
$$
i
$(builddir)
;
done
$(PYTHON)
$(top_srcdir)
/doc/mkapiref.py
\
apiref.rst macros.rst enums.rst types.rst
.
$^
...
...
doc/conf.py.in
View file @
08e2d7cd
...
...
@@ -41,7 +41,7 @@ import sys, os
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.insert(0, os.path.abspath('.'))
sys.path.append(os.path.abspath('_exts'))
sys.path.append(os.path.abspath('
@top_srcdir@/doc/
_exts'))
# -- General configuration -----------------------------------------------------
...
...
examples/client.c
View file @
08e2d7cd
...
...
@@ -289,8 +289,6 @@ static int on_stream_close_callback(nghttp2_session *session, int32_t stream_id,
return
0
;
}
#define MAX_OUTLEN 4096
/*
* The implementation of nghttp2_on_data_chunk_recv_callback type. We
* use this function to print the received response body.
...
...
examples/tiny-nghttpd.c
View file @
08e2d7cd
...
...
@@ -295,7 +295,7 @@ static size_t http_date(char *buf, time_t t) {
static
char
date
[
29
];
static
size_t
datelen
;
static
void
update_date
()
{
datelen
=
http_date
(
date
,
time
(
NULL
));
}
static
void
update_date
(
void
)
{
datelen
=
http_date
(
date
,
time
(
NULL
));
}
static
size_t
utos
(
char
*
buf
,
size_t
len
,
uint64_t
n
)
{
size_t
nwrite
=
0
;
...
...
integration-tests/Makefile.am
View file @
08e2d7cd
...
...
@@ -21,11 +21,14 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
EXTRA_DIST
=
\
GO_FILES
=
\
nghttpx_http1_test.go
\
nghttpx_http2_test.go
\
nghttpx_spdy_test.go
\
server_tester.go
\
server_tester.go
EXTRA_DIST
=
\
$(GO_FILES)
\
server.key
\
server.crt
\
alt-server.key
\
...
...
@@ -43,4 +46,5 @@ itprep-local:
go get
-d
-v
golang.org/x/net/websocket
it-local
:
for
i
in
$(GO_FILES)
;
do
[
-e
$(builddir)
/
$$
i
]
||
cp
$(srcdir)
/
$$
i
$(builddir)
;
done
sh setenv go
test
-v
integration-tests/config.go.in
View file @
08e2d7cd
...
...
@@ -2,4 +2,5 @@ package nghttp2
const
(
buildDir
=
"@top_builddir@"
sourceDir
=
"@top_srcdir@"
)
integration-tests/server_tester.go
View file @
08e2d7cd
...
...
@@ -29,7 +29,8 @@ import (
const
(
serverBin
=
buildDir
+
"/src/nghttpx"
serverPort
=
3009
testDir
=
buildDir
+
"/integration-tests"
testDir
=
sourceDir
+
"/integration-tests"
logDir
=
buildDir
+
"/integration-tests"
)
func
pair
(
name
,
value
string
)
hpack
.
HeaderField
{
...
...
@@ -124,7 +125,7 @@ func newServerTesterInternal(args []string, t *testing.T, handler http.Handler,
// "127.0.0.1,8080"
b
:=
"-b"
+
strings
.
Replace
(
backendURL
.
Host
,
":"
,
","
,
-
1
)
args
=
append
(
args
,
fmt
.
Sprintf
(
"-f127.0.0.1,%v"
,
serverPort
),
b
,
"--errorlog-file="
+
test
Dir
+
"/log.txt"
,
"-LINFO"
)
"--errorlog-file="
+
log
Dir
+
"/log.txt"
,
"-LINFO"
)
authority
:=
fmt
.
Sprintf
(
"127.0.0.1:%v"
,
serverPort
)
...
...
lib/nghttp2_npn.h
View file @
08e2d7cd
...
...
@@ -25,9 +25,9 @@
#ifndef NGHTTP2_NPN_H
#define NGHTTP2_NPN_H
#ifdef HAVE_CONFIG
#ifdef HAVE_CONFIG
_H
#include <config.h>
#endif
/* HAVE_CONFIG */
#endif
/* HAVE_CONFIG
_H
*/
#include <nghttp2/nghttp2.h>
...
...
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