GithubHelp home page GithubHelp logo

team22's People

Contributors

dstephan1 avatar hsjfelix avatar jteo1 avatar kevinazhu avatar richardmin avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

team22's Issues

async_read_until fails sometimes

async_read_until fails sometimes with reverse_proxy_handler.

telnet - no problem
curl - no problem
chrome - happens with the ucla.edu redirection
nc - doesn't work at all

Known causes of async_read_until fail:

  • early termination by client
  • EOF received from client
  • request header is too long for the buffer
  • some other exception thrown inside the read_until
  • timeout?

We could just make it a warning?

Status page and relative paths

Requests to relative paths with different base urls are added together.
ex.
/proxy1/somefile.png -> somefile.png (google.com/somefile.png)
/proxy2/somefile.png -> somefile.png (wikipedia.org/somefile.png)

Status page
somefile.png 2

Concurrency issue with status page

It is possible that a connection gets deleted while the status page is querying the connection state.

Possible fixes: (anything that removes the dependency on connection)

  • Shared pointer on entire connection
  • Shared pointer on connection state
  • Connection tells state to status, instead odd stat us asking

Server crashes if client leaves

spam refresh on /sleep handler or /proxy3 and the server will probably crash.
go to /sleep and close the tab and the server will probably crash.

Parsing Bug

Request parsing has a bug -- the last header's value has an additional \r postpended.

It shouldn't matter much, but it's a bug nonetheless.

Assignment 8

Hi Guys,

We (Caviar-Hacker-Grid) are your assigned team for the next week.
What would the best way be to contact you if we have any questions?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.