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
02f2336a
Commit
02f2336a
authored
Feb 09, 2022
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump libbpf to v0.6.1
parent
832d8119
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
11 deletions
+5
-11
.github/workflows/build.yml
.github/workflows/build.yml
+1
-1
README.rst
README.rst
+2
-2
docker/Dockerfile
docker/Dockerfile
+1
-1
src/shrpx_connection_handler.cc
src/shrpx_connection_handler.cc
+1
-7
No files found.
.github/workflows/build.yml
View file @
02f2336a
...
...
@@ -85,7 +85,7 @@ jobs:
-
name
:
Build libbpf
if
:
matrix.http3 == 'http3' && matrix.compiler == 'clang' && runner.os == 'Linux'
run
:
|
git clone -b v0.
4.0
https://github.com/libbpf/libbpf
git clone -b v0.
6.1
https://github.com/libbpf/libbpf
cd libbpf
PREFIX=$PWD/build make -C src install
...
...
README.rst
View file @
02f2336a
...
...
@@ -170,7 +170,7 @@ Use ``--with-libbpf`` configure option to build eBPF program.
libelf-dev is needed to build libbpf.
For Ubuntu 20.04, you can build libbpf from `the source code
<https://github.com/libbpf/libbpf/releases/tag/v0.
4.0
>`_. nghttpx
<https://github.com/libbpf/libbpf/releases/tag/v0.
6.1
>`_. nghttpx
requires eBPF program for reloading its configuration and hot swapping
its executable.
...
...
@@ -393,7 +393,7 @@ from source:
.. code-block:: text
$ git clone --depth 1 -b v0.
4.0
https://github.com/libbpf/libbpf
$ git clone --depth 1 -b v0.
6.1
https://github.com/libbpf/libbpf
$ cd libbpf
$ PREFIX=$PWD/build make -C src install
$ cd ..
...
...
docker/Dockerfile
View file @
02f2336a
...
...
@@ -36,7 +36,7 @@ RUN git clone --depth 1 -b v0.1.0 https://github.com/ngtcp2/ngtcp2 && \
cd
..
&&
\
rm
-rf
ngtcp2
RUN
git clone
--depth
1
-b
v0.
4.0
https://github.com/libbpf/libbpf
&&
\
RUN
git clone
--depth
1
-b
v0.
6.1
https://github.com/libbpf/libbpf
&&
\
cd
libbpf
&&
\
PREFIX
=
/usr/local make
-C
src
install
&&
\
cd
..
&&
\
...
...
src/shrpx_connection_handler.cc
View file @
02f2336a
...
...
@@ -1080,8 +1080,6 @@ std::vector<BPFRef> &ConnectionHandler::get_quic_bpf_refs() {
}
void
ConnectionHandler
::
unload_bpf_objects
()
{
std
::
array
<
char
,
STRERROR_BUFSIZE
>
errbuf
;
LOG
(
NOTICE
)
<<
"Unloading BPF objects"
;
for
(
auto
&
ref
:
quic_bpf_refs_
)
{
...
...
@@ -1089,11 +1087,7 @@ void ConnectionHandler::unload_bpf_objects() {
continue
;
}
if
(
bpf_object__unload
(
ref
.
obj
)
!=
0
)
{
LOG
(
WARN
)
<<
"Failed to unload bpf object: "
<<
xsi_strerror
(
errno
,
errbuf
.
data
(),
errbuf
.
size
());
continue
;
}
bpf_object__close
(
ref
.
obj
);
ref
.
obj
=
nullptr
;
}
...
...
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