Skip to content

Integrate xmlrpc-streaming gem #21

@herwinw

Description

@herwinw

There is a very old gem on https://github.com/washu/xmlrpc-streaming, with the following feature set:

  • Base64 now accepts an IO object to its constructor
  • The XMLRPC request will now be streamed to the server. This will be a little faster and generate much less garbage. It should also fix issues where large Base64 objects sent to the server can cause out of memory errors
  • Base64 now has a to_io methods that will give access to the underlying data as a IO object note: this is the raw data.
  • set_writer will be ignored if this module has been loaded.
  • the parser will now try the following, nokogiri, libxml and finally fallback to REXML
  • This module can be used completely transparently, just require the lib and nothing else needs done

The current release of this Gem is 0.1.0, and it hasn't been updated since 2011. The xmlrpc gem has a parser using libxml nowadays, but these two differ. I have no idea of the gem still works with the current release of xmlrpc.

It would be nice to have the functionality in the addon merged into the base release. I'm open to making the changes, but first I want to be sure this would be accepted, and that merging this foreign gem is even allowed (notify for @washu)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions