Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

made SimpleAsyncHTTPClient header parsing more error-resistant. #341

Closed
wants to merge 10 commits into from

Commits on Aug 22, 2011

  1. Implemented read_until_regex in tornado. This is similar to read_unti…

    …l(), except it looks for a specific delimiter. This function is used to parse the header of the website, where it is delimited by '\n' only (like http://news.ycombinator.com/rss)
    Jeeyoung Kim committed Aug 22, 2011
    3
    Copy the full SHA
    8640440 View commit details
    Browse the repository at this point in the history
  2. added flag to ignore server side hangup (i.e. server closing socket) …

    …as an error event. this allows us to keep reading from the socket, even after the server closes the stream.
    Jeeyoung Kim committed Aug 22, 2011
    Copy the full SHA
    fbccc00 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2011

  1. Copy the full SHA
    bd31ef5 View commit details
    Browse the repository at this point in the history
  2. Revert "added flag to ignore server side hangup (i.e. server closing …

    …socket) as an error event. this allows us to keep reading from the socket, even after the server closes the stream."
    
    This reverts commit fbccc002e7e11b359d0d81854f7dae63e30df6f5.
    wchau committed Aug 23, 2011
    Copy the full SHA
    e4e314b View commit details
    Browse the repository at this point in the history
  3. Revert "Revert "added flag to ignore server side hangup (i.e. server …

    …closing socket) as an error event. this allows us to keep reading from the socket, even after the server closes the stream.""
    
    This reverts commit e4e314b7720268b902f24f89743d8ecc8ba0ff87.
    wchau committed Aug 23, 2011
    Copy the full SHA
    ff8c391 View commit details
    Browse the repository at this point in the history
  4. added flag to ignore server side hangup (i.e. server closing socket) …

    …as an error event. this allows us to keep reading from the socket, even after the server closes the stream.
    Jeeyoung Kim authored and wchau committed Aug 23, 2011
    Copy the full SHA
    802c55b View commit details
    Browse the repository at this point in the history
  5. Ignore connection closed EPOLL events and continue reading

    in a smart way. Seperated error events with connection closed events.
    TODO: Handle case where there is no more to read in the socket buffer but
    the connection is closed already.
    wchau committed Aug 23, 2011
    Copy the full SHA
    118a79b View commit details
    Browse the repository at this point in the history
  6. Revert "Ignore connection closed EPOLL events and continue reading"

    This reverts commit 118a79b913584ed11767157173fe3ec74bea1a6e.
    Jeeyoung Kim committed Aug 23, 2011
    Copy the full SHA
    e041d40 View commit details
    Browse the repository at this point in the history
  7. created logger for tornado.simple_httpclient.

    Jeeyoung Kim committed Aug 23, 2011
    Copy the full SHA
    4865316 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    f5fe197 View commit details
    Browse the repository at this point in the history