Git Product home page Git Product logo

Comments (6)

ProjectMoon avatar ProjectMoon commented on August 11, 2024

For system.listMethods, the problem is indeed the string being too big. Several data events are fired in the client. Looks like some sort of buffering is needed.

from node-xmlrpc.

baalexander avatar baalexander commented on August 11, 2024

@ProjectMoon - Can you add a gist of the long system.listMethods response? I'll add it as a test case.

from node-xmlrpc.

ProjectMoon avatar ProjectMoon commented on August 11, 2024

Yeah... I tried using xmlrpc-c's command, but it parses the XML. I'll try to extract it from a call using modified version of this (i.e. console.log)

from node-xmlrpc.

blaenk avatar blaenk commented on August 11, 2024

@ProjectMoon: with your e725a05 commit and my newline fixes, it seems like this command is now working :)

I'll make a pull request soon.

from node-xmlrpc.

baalexander avatar baalexander commented on August 11, 2024

e725a05 and a test case for chunked responses were added in the 0.7.1 release. Please let me know if you have any more issues with chunked responses @ProjectMoon.

I believe the other issue mentioned in this ticket is because i8 is not currently supported in the parser, only int and i4 types. There's no native 64-bit integer handling in node, so either an approximation of the value from being interpreted as a JavaScript number or by some module that adds 64-bit integer support. I added another ticket to address i8 support specifically.

Thanks again @ProjectMoon for the help.

from node-xmlrpc.

blaenk avatar blaenk commented on August 11, 2024

Yeah I can confirm there are no longer any issues with system.listMethods, as I'm also working with rtorrent.

from node-xmlrpc.

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.