aniruddhapdeshpande99 / Proxy-Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Computer Networks - Assignment 2

Submitted by:

  • Samyak Agrawal - 20161180
  • Aniruddha Deshpande - 20161058

Instructions

  1. Start server with command python server.py (Where Present working directory is that of server.py)
  2. Start proxy server with command python proxy.py
  3. use curl command to make request e.g, curl -x http://localhost:12345 http://localhost:20000/1.txt

Note

  1. Comments provided within the code for finer understanding.
  2. Threading provided for each connection of the client/
  3. Cache size limited to 3 files.
  4. Error Handling managed by use of try and except.

About


Languages

Language:Python 100.0%