Skip to content

Add connection pool? #122

@daewok

Description

@daewok

Would there be interest in adding connection pool support to Drakma?

I had plans to create an external connection pool that wrapped http-request and passed it a :stream. But I realized this is ~impossible to get right when using a proxy, as Drakma will only send the full URI if :stream is nil. Plus there are some other fiddly bits that are hard to get right externally, like dealing with redirects.

I figured I'd see if there was interest in adding a connection pool directly to Drakma instead of continuing to bang my head against the wall to get an external pool to handle all the corner cases correctly.

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