Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmlrpclib closes connection after each call #46348

Closed
erno mannequin opened this issue Feb 12, 2008 · 3 comments
Closed

xmlrpclib closes connection after each call #46348

erno mannequin opened this issue Feb 12, 2008 · 3 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@erno
Copy link
Mannequin

erno mannequin commented Feb 12, 2008

BPO 2076
Nosy @vstinner
Files
  • transport.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2009-09-14.10:44:32.561>
    created_at = <Date 2008-02-12.11:04:08.767>
    labels = ['type-feature', 'library']
    title = 'xmlrpclib closes connection after each call'
    updated_at = <Date 2009-09-14.10:44:32.559>
    user = 'https://bugs.python.org/erno'

    bugs.python.org fields:

    activity = <Date 2009-09-14.10:44:32.559>
    actor = 'vstinner'
    assignee = 'effbot'
    closed = True
    closed_date = <Date 2009-09-14.10:44:32.561>
    closer = 'vstinner'
    components = ['Library (Lib)']
    creation = <Date 2008-02-12.11:04:08.767>
    creator = 'erno'
    dependencies = []
    files = ['9414']
    hgrepos = []
    issue_num = 2076
    keywords = []
    message_count = 3.0
    messages = ['62309', '64330', '92599']
    nosy_count = 4.0
    nosy_names = ['effbot', 'vstinner', 'erno', 'gpolo']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2076'
    versions = ['Python 2.5']

    @erno
    Copy link
    Mannequin Author

    erno mannequin commented Feb 12, 2008

    xmlrpclib is using the old HTTP and HTTPS classes from httplib which are
    to quote the docstring, "Compatibility classes with httplib.py from 1.5."
    and force the use of HTTP 1.0. This prevents connection reuse and
    pipelining.

    Attacked is some code we are using as a workaround.

    Is the xmlrpclib in the standard library required to keep compatibility
    with old python versions?

    @erno erno mannequin added the stdlib Python modules in the Lib dir label Feb 12, 2008
    @jafo jafo mannequin assigned effbot Mar 18, 2008
    @jafo jafo mannequin added the type-feature A feature request or enhancement label Mar 18, 2008
    @gpolo
    Copy link
    Mannequin

    gpolo mannequin commented Mar 22, 2008

    There is already a patch for using HTTP/1.1 in xmlrpclib:
    http://bugs.python.org/issue1767370

    There is also another open issue related to this, so the best to do here
    is some "merging" of issues and patches and leave just one of them open.

    @vstinner
    Copy link
    Member

    I think that xmlrpclib is already fixed in Python trunk. See bpo-6267. I consider
    this issue as a duplicate of bpo-6267.

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant