diff options
author | Sergey Ponomarev <stokito@gmail.com> | 2022-02-09 11:19:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-09 10:19:34 +0100 |
commit | 6a3cc2325b1861525198ba850cf55df0caab4911 (patch) | |
tree | 26b2cd62c80f7a9b0ff7c446b05e97e4b2427ecf /server_timing_test.go | |
parent | Update dependencies (#1204) (diff) | |
download | fasthttp-6a3cc2325b1861525198ba850cf55df0caab4911.tar.gz fasthttp-6a3cc2325b1861525198ba850cf55df0caab4911.tar.bz2 fasthttp-6a3cc2325b1861525198ba850cf55df0caab4911.zip |
uri_test.go use example.com for clearness (#1212)
* uri_test.go replace xxx.com with example.com
* uri_test.go replace foobar.com with example.com
* uri_test.go use example.com inside of testURIUpdate()
* uri_test.go use example.com instead of google.com
* uri_test.go use example.com instead of google.com
* uri_test.go testURIUpdate() host with port
Diffstat (limited to 'server_timing_test.go')
-rw-r--r-- | server_timing_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server_timing_test.go b/server_timing_test.go index 6ed1cae..1e7f6f2 100644 --- a/server_timing_test.go +++ b/server_timing_test.go @@ -317,7 +317,7 @@ func newFakeListener(requestsCount, clientsCount, requestsPerConn int, request s var ( fakeResponse = []byte("Hello, world!") getRequest = "GET /foobar?baz HTTP/1.1\r\nHost: google.com\r\nUser-Agent: aaa/bbb/ccc/ddd/eee Firefox Chrome MSIE Opera\r\n" + - "Referer: http://xxx.com/aaa?bbb=ccc\r\nCookie: foo=bar; baz=baraz; aa=aakslsdweriwereowriewroire\r\n\r\n" + "Referer: http://example.com/aaa?bbb=ccc\r\nCookie: foo=bar; baz=baraz; aa=aakslsdweriwereowriewroire\r\n\r\n" postRequest = fmt.Sprintf("POST /foobar?baz HTTP/1.1\r\nHost: google.com\r\nContent-Type: foo/bar\r\nContent-Length: %d\r\n"+ "User-Agent: Opera Chrome MSIE Firefox and other/1.2.34\r\nReferer: http://google.com/aaaa/bbb/ccc\r\n"+ "Cookie: foo=bar; baz=baraz; aa=aakslsdweriwereowriewroire\r\n\r\n%s", |