Comments (10)
@js7222 , I cannot reproduce your problem in my dev server. I am happy to investigate this further if you can provide more details about how to reproduce this.
proxygen/lib/http/codec/test/CodecTests --gtest_filter=SPDYCodecTest.HeaderWithManyValues -v 4
Note: Google Test filter = SPDYCodecTest.HeaderWithManyValues
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from SPDYCodecTest
[ RUN ] SPDYCodecTest.HeaderWithManyValues
V1228 13:45:14.245183 3819173 SPDYCodec.cpp:196] creating SPDY/3.0 codec
V1228 13:45:14.245311 3819173 SPDYCodec.cpp:196] creating SPDY/3.0 codec
V1228 13:45:14.247814 3819173 SPDYCodec.cpp:534] Dropping SPDY reserved header Host
V1228 13:45:14.249593 3819173 GzipHeaderCodec.cpp:280] header size orig=9032, max deflated=10314, actual deflated=9134
V1228 13:45:14.249876 3819173 SPDYCodec.cpp:1208] Got SYN_STREAM, stream=1 pri=0
[ OK ] SPDYCodecTest.HeaderWithManyValues (6 ms)
[----------] 1 test from SPDYCodecTest (6 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (6 ms total)
[ PASSED ] 1 test.
from proxygen.
I literally just ran ./deps.sh && ./reinstall.sh as per the instructions. I am using Ubuntu 15.10. Is there anything specific you would like me to provide?
from proxygen.
I got the same error messages as js7222 as well. Didn't modify anything. Just git cloned and ./deps.sh.
Ubuntu 15.10
from proxygen.
It seems this issue is caused by Ubuntu 15.10. I am able to build successfully with 14.04
from proxygen.
@kwlo thanks for feedback. Our current internal testing environment is Ubuntu 14.04 LTS. Let me try to get 15.10 to reproduce it.
meanwhile, welcome to send us a pull request if you figure out the fix.
from proxygen.
reproduced on Ubuntu 15.10, X86_64.
did some debug , looks like this test case failed:
TEST(SPDYCodecTest, HeaderWithManyValues)
https://github.com/facebook/proxygen/blob/master/proxygen/lib/http/codec/test/SPDYCodecTest.cpp#L517
the reason is SPDYUtil::validateHeaderValue() return false,
name is "host"
value is '\001' <repeats 11 times>
valueOk = SPDYUtil::validateHeaderValue(value, SPDYUtil::STRICT);
https://github.com/facebook/proxygen/blob/master/proxygen/lib/http/codec/SPDYCodec.cpp#L1044
if (*p < 0x20 || *p == 0x7f) {
// unexpected ctl per rfc2616
return false;
}
https://github.com/facebook/proxygen/blob/master/proxygen/lib/http/codec/SPDYUtil.h#L104
from proxygen.
I get exactly the same failure on Ubuntu 16.04 (alpha).
from proxygen.
I've created a task internally to add support to these newer ubuntu revs, but it might take a while to get to them. Would gladly accept a PR :)
from proxygen.
I just built a new Ubuntu 16.04 VM and ran deps.sh && resinstall.sh from HEAD and it worked. I even ran the SPDYCodecTests with a CPU intensive job in the background to see if CPU load affected it. I built with gcc-5.4.
Given the comment from @byronhe I wonder if it might be somehow locale dependent? Can folks post if they are still seeing this on recent ubuntu?
from proxygen.
Old issue, cannot repro.
from proxygen.
Related Issues (20)
- Bandwidth Utilization
- This resolves CVE-2023-44487.
- Building Proxygen in Windows
- HTTP3 Server and Client from samples HOT 11
- Does proxygen support iOS ?
- Transferring Sessions between threads for Http Client Connection Pool HOT 8
- DetachThreadLocals() fails CHECK HOT 22
- Homebrew build of proxygen failing HOT 7
- ServerIdleSessionConroller:getIdleSession() returns session already in thread HOT 5
- Concurrent performance supported by the HTTP server
- Websocket Key Mismatch HOT 2
- Connection Close Reason SHUTDOWN HOT 3
- `EchoHandler` in `proxygen/httpserver/samples/echo/EchoHandler.h` has unnecessary `body_` member
- Request smuggling vulnerability in Proxygen
- websocket client with SSL problem: Server replied to me "Bad Request" HOT 5
- proxygen fails to build when a newer glog package is installed
- Proxygen for iOS HOT 2
- httpserver/samples/websocket
- Ingress Error and drain() HOT 2
- httpserver/samples/websocket
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 proxygen.