Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • G go
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • go
  • Repository

Switch branch/tag
  • go
  • src
  • net
  • http
  • server.go
Find file BlameHistoryPermalink
  • Guilherme Goncalves's avatar
    net/http: document and test behavior of ServeMux with ports · 37f05cc6
    Guilherme Goncalves authored Jun 23, 2018
    Beginning on Go 1.9, ServeMux has been dropping the port number from the Host
    header and in the path pattern. This commit explicitly mentions the change in
    behavior and adds a simple test case to ensure consistency.
    
    Fixes #23351.
    
    Change-Id: I0270c8bd96cda92c13ac6437cdf66c2807b3042d
    Reviewed-on: https://go-review.googlesource.com/120557
    
    Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
    Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    37f05cc6

Replace server.go

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7