GithubHelp home page GithubHelp logo

Comments (5)

afrind avatar afrind commented on May 16, 2024

This sounds very strange, especially since neither HTTPConnector nor your replacement appear in the stack trace that I can see. getPeerAddress just copies the address from the underlying HTTPSession.

Can you explain why you need to write your own connector (eg: what is missing in the existing class)?

from proxygen.

SteveSelva avatar SteveSelva commented on May 16, 2024

Yeah, its kind of weird. It was working well and all of sudden this exception is thrown when I restart the PC.
And I don't know how peerAddr_ becomes NULL which was copied during the construction of proxygen::HTTPSession.

Is there any way that peerAddr_ can become NULL?

I am implementing my own connector to handle CONNECT requests. (HTTPS proxy).

from proxygen.

afrind avatar afrind commented on May 16, 2024

Is there any way that peerAddr_ can become NULL?

I don't think so? It's not even a pointer, folly::SocketAddress is a member of the session.

from proxygen.

SteveSelva avatar SteveSelva commented on May 16, 2024

This is the exception being thrown and the local data at that time.
image

I don't know what's happening. Can you help me fix this please.

from proxygen.

SteveSelva avatar SteveSelva commented on May 16, 2024

Now, I removed the connector and it worked fine. After that, I extended proxygen::SessionPool and made my own implementation of fetching Sessions from session lists. This again caused the same error. Don't know what is causing this issue, do you know why?

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.