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

asio_service support stream mode #527

Merged
merged 6 commits into from
Aug 16, 2024
Merged

Commits on Aug 13, 2024

  1. asio_service support stream mode

    1. set TCP_NODELAY = true this can be set after the socket open. So we can't set it in constructor. (async_connect will open the socket)
    2. does the order of calling all the when_done matter when error occur? in write path when_done(error triggered) -> close_socket(in destructor) in read path close_socket(directly call) -> when_done(error triggered)
    3. keep the old path for all request if stream_mode_ = false
    
    already addressed all the comment.
    lihzeng committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    40e0775 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. handle comments

    lihzeng committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    268d571 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. fix error

    lihzeng committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    5d82ff1 View commit details
    Browse the repository at this point in the history
  2. error handle

    lihzeng committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    aaa6b28 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. Configuration menu
    Copy the full SHA
    8ed1247 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    45060ab View commit details
    Browse the repository at this point in the history