FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

5.6.0 https url: [Error: HTTP parser error: unexpected content-length header] · Issue #911 · nodegit/nodegit · GitHub

Repository navigation

5.6.0 https url: [Error: HTTP parser error: unexpected content-length header] #911

Description

With node 5.6.0 which fixes https parsing errors and changes current parsing behavior (https://nodejs.org/en/blog/vulnerability/february-2016-security-releases) trying to git clone or rebase https bitbucket private url results in

[Error: HTTP parser error: unexpected content-length header]

standard clone example will reproduce this error

 nodegit.Clone(
// basic auth bitbucket repo is what I was testing
    "https://user:pass@bitbucket.org/repo.git",
    path,
    {
      fetchOpts: {
        callbacks: {
          certificateCheck: function() {
            // github will fail cert check on some OSX machines
            // this overrides that check
            return 1;
          }
        }
      }
    })

node 5.5.0 works as expected

this seems like an error from http-parser itself so I don't know if this is really related to nodegit, since I'm very short on time to do some more debugging

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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


    Back | FazBrowse Home | New Git URL