Skip to content

gehnaanand/Proxy-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy-Server

Compile Program

gcc proxy.c -o proxy -pthread -lssl -lcrypto -lxml2 -lcurl -I/usr/include/libxml2

Testing command

curl --proxy http://localhost:8080 http://www.google.com -ivk -o /dev/null

With Response Time

curl --proxy http://localhost:8080 http://www.google.com -ivk -o /dev/null -w "Response time: %{time_total} seconds\n"

Send Simultaneous Requests

curl --proxy http://localhost:8080 http://www.google.com -ivk -o /dev/null -w "Response time: %{time_total} seconds\n" & curl --proxy http://localhost:8080 http://www.google.com -ivk -o /dev/null -w "Response time: %{time_total} seconds\n" &

curl --proxy http://localhost:8080 http://netsys.cs.colorado.edu/ -ivk -o /dev/null -w "Response time: %{time_total} seconds\n"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages