Skip to content

Instantly share code, notes, and snippets.

View rachitchauhan43's full-sized avatar

Rachit Chauhan rachitchauhan43

View GitHub Profile
@rachitchauhan43
rachitchauhan43 / http_connection_reuse_test_client.go
Last active August 30, 2022 16:20
This gist creates 2 files -- http_connection_reuse_test_server.go will bring up a server and http_connection_reuse_test_client.go will bring a client that make calls to that server. This is to test the TCP connection reuse for new HTTP connections
package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {