GithubHelp home page GithubHelp logo

Comments (10)

w-o-o avatar w-o-o commented on May 2, 2024

@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.

js7222 avatar js7222 commented on May 2, 2024

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.

kwlo avatar kwlo commented on May 2, 2024

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.

kwlo avatar kwlo commented on May 2, 2024

It seems this issue is caused by Ubuntu 15.10. I am able to build successfully with 14.04

from proxygen.

w-o-o avatar w-o-o commented on May 2, 2024

@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.

byronhe avatar byronhe commented on May 2, 2024

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.

nitingupta910 avatar nitingupta910 commented on May 2, 2024

I get exactly the same failure on Ubuntu 16.04 (alpha).

from proxygen.

afrind avatar afrind commented on May 2, 2024

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.

afrind avatar afrind commented on May 2, 2024

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.

afrind avatar afrind commented on May 2, 2024

Old issue, cannot repro.

from proxygen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.