Comments (2)
Hear me out here. As mentioned above, I want to use nghttp2 to only look at the response headers from nginx, I am not using nghttp2 to generate the requests. I cleverly thought I could use a "server" session (created using nghttp2_session_server_new()) and call nghttp2_option_set_no_recv_client_magic() to not have nghttp2 look for a client magic. I received the following sequence of frames from the nginx server:
Initial SETTINGS frame
WINDOW_UPDATE frame
SETTINGS frame (this is the ACK SETTINGS frame)
HEADERS (response headers)
Since I am reading the response from nginx on a "server" session, on seeing the ACK SETTINGS frame, nghttp2 exits with error "SETTINGS: unexpected ACK" which is correct but unfortunate for me. All I want is to get all the response headers but nghttp2 errors out before getting to the headers and making those header callbacks.
What would be the easiest way for me to ignore this SETTINGS ACK and proceed to process the request headers ?
from nghttp2.
Because the traffic is coming from server, nghttp2_session_client_new should be used.
That said, nghttp2 does not support this kind of usage.
from nghttp2.
Related Issues (20)
- applications were requested (--enable-app) but dependencies are not met HOT 5
- Symbol Lookup Error - nghttp: undefined symbol: nghttp2_submit_request2 HOT 3
- Compilation error redefinition of typedef 'nghttp2_data_provider_wrap' in 1.60.0 for old gcc HOT 4
- Possibly memory leak and assertion failure in nghttp2_session_pack_data HOT 5
- Add SSLKEYLOGFILE support (nghttp client)
- Upcoming security release HOT 3
- Not able to bundle apache with nghttp2 1.60.0 version HOT 3
- zip 1.60.0 package munit missing HOT 4
- c-ares 1.16 requirement: Cannot build nghttp2 1.61.0 on *EL8, EL7 HOT 11
- SegFault while loading config after upgrade from 1.57.0 to 1.61.0 HOT 3
- CVE-2023-45288 HOT 2
- Report "http2: server sent GOAWAY and closed the connection; LastStreamID=33695, ErrCode=INTERNAL_ERROR, debug=""" HOT 3
- PrivateKey / Certificate files not found even though they are there HOT 2
- have error which can't find span when building the latest load HOT 2
- Documentation link for Huffman decoding algorithm in code comments has become invalid
- Does the nghttp client support TLS 1.3 Early Data? If not, is this something on the roadmap? HOT 2
- nghttp2 1.62.0: Multiple errors in template.h HOT 2
- FTBFS/Regression in nghttp2 1.61.0 => 1.62.0 with gcc 11 HOT 6
- Compiling nghttp2 with GCC 14 fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nghttp2.