-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Received and size are the same when using HTTP/2 #45
Comments
Per comment on the above bug:
|
bug mentioned at masterzen#45
Below is my Dockerfile. In this environment, with http2, "received and size issue" is still there. Please check. Thanks! FROM debian:bullseye-slim
RUN apt-get update
RUN apt-get -y upgrade
WORKDIR /tmp
# Install prerequisites for Nginx compile
RUN apt-get install -y \
zlib1g \
zlib1g-dev \
libpcre3 \
libpcre3-dev \
openssl \
libssl-dev \
wget \
tar \
gcc \
make \
git
# Download Nginx and Nginx modules source code
RUN wget http://nginx.org/download/nginx-1.20.2.tar.gz -O nginx.tar.gz && \
mkdir /tmp/nginx && \
tar -xzvf nginx.tar.gz -C /tmp/nginx --strip-components=1 &&\
git clone --branch 2.3.0 https://github.com/vkholodkov/nginx-upload-module.git /tmp/nginx/nginx-upload-module &&\
git clone --depth=1 https://github.com/masterzen/nginx-upload-progress-module.git /tmp/nginx/nginx-upload-progress-module
# Build Nginx
WORKDIR /tmp/nginx
RUN ./configure \
--with-cc-opt="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2" \
--with-ld-opt="-Wl,-Bsymbolic-functions -Wl,-z,relro" \
--user=nginx \
--group=nginx \
--prefix=/usr/share/nginx \
--with-http_gunzip_module \
--with-http_gzip_static_module \
--with-http_stub_status_module \
--with-http_ssl_module \
--with-http_v2_module \
--with-pcre \
--with-file-aio \
--with-stream \
--with-stream_ssl_module \
--with-http_auth_request_module \
--add-module=nginx-upload-module \
--add-module=nginx-upload-progress-module && \
make &&\
make install |
It might be linked to #44 or some other ticket.
When using HTTP/2 in my server configuration, received and size are always the same. Without HTTP/2, it just works fine.
Result of nginx -V :
My Nginx configuration is directly taken from Perusio's Drupal for Nginx (for Drupal 7 in my case) : https://github.com/perusio/drupal-with-nginx, but I'm pretty sure it can be reproduced with a more classic configuration.
In my virtualhost file :
WORKS :
DOES NOT WORK :
Ask me if you need more info, but it should be easily reproducible.
Thanks in advance.
The text was updated successfully, but these errors were encountered: