Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Host header wrong when connect to server with ip and server request name #189

@SalvadorFloresMichel

Description

@SalvadorFloresMichel

In HttpClient.cpp: HttpClient::sendInitialHeaders line 161 when connect to a server with multiple sites in the same ip (like GoDaddy), connect with name does not work, need to connect with IP address, but in that case Host header need send host name (like mypageservices.com) but hosts send IP instead, please let the user send his own host header if need, thanks a lot.

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