Skip to content

Easy2::max_redirections takes u32 instead of i32 #603

@KristinnVikar

Description

@KristinnVikar

The Easy2::max_redirections function should take a i32 value since the documentation defines the value -1 as infinite redirects1, although this is the default value you're unable to reset it back to the default using the function.

Footnotes

  1. https://curl.se/libcurl/c/CURLOPT_MAXREDIRS.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions