Skip to content

Commit

Permalink
Remove parse keep-alive TODO and fix test error.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyfdecyf committed Feb 7, 2013
1 parent c4670f3 commit a2a069f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ func ParseRequestURI(rawurl string) (*URL, error) {
// Note RFC2616 only says about "Connection", no "Proxy-Connection", but firefox
// send this header.
// See more at http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/web-proxy-connection-header.html
// TODO: parse Keep-Alive header so we know when the server will close connection
const (
headerConnection = "connection"
headerContentLength = "content-length"
Expand Down
1 change: 0 additions & 1 deletion http_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package main

import (
"testing"
"time"
)

func TestSplitHostPort(t *testing.T) {
Expand Down

0 comments on commit a2a069f

Please sign in to comment.