Code Monkey home page Code Monkey logo

fastjsonrpc's People

Contributors

gwartass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

fastjsonrpc's Issues

asynchronous or multithreaded support?

I built an rpc daemon based on the ssl_server.tac in the examples section. It works, but it doesn't seem to be able to work in parallel. I have one rpc call that can take 15 to 30 seconds to complete, and while that is running no other rpc calls are able to be processed by the daemon. I'm assuming there is something in twisted that could be changed to fix this, but I'm having trouble finding anything (first time using twisted).

Any advice?

Twisted web client does certificate validation by default in 14.0.0

Even though the documentation says otherwise, there is certificate validation check in 14.0.0:

[Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]

Also, WebClientContextFactory was replaced with BrowserLikePolicyForHTTPS, which does the same.

client.Proxy.callRemote() causes Content-Length to be set twice

The Request object used by twisted.web.client.Agent automatically sets the Content-Length header, so adding a Content-Length header in Proxy.callRemote will cause some HTTP servers to reject the message, as having 2 Content-Length values is not proper HTTP.

Can´t start example code

Hi,

im sorry for this maybe stupid question but when i try to run the example code for examples/ssl_server.tac the program finished after maybe 2 seconds. no output, no errors. i replaced the cert & key file with my own.

Do you have any idea ?

Why is this fast?

Or at least faster? I assume the reference implementation was txJSON-RPC.

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.