Requirement
nginx server source code (optional)
use Yahoo or Google to telnet. Try different method
write a simple Client Server based on HTTP, which can handle one Get request and response with Hello World
use C
Server:
1. response with Hello World in http format
2. validate http request
Client:
1. Send Get http request
2. Send illegal http request
Reference
https://tools.ietf.org/html/rfc2616
http://www.jmarshall.com/easy/http/
Solution
Try different method: