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

Allocate reserved relay address #39

Merged
merged 23 commits into from
Apr 28, 2017
Merged

Commits on Apr 25, 2017

  1. Configuration menu
    Copy the full SHA
    cca1216 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2ace5f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2017

  1. Configuration menu
    Copy the full SHA
    3cff668 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ccee493 View commit details
    Browse the repository at this point in the history
  3. wip: do_reserve_another_relay

    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    5128d69 View commit details
    Browse the repository at this point in the history
  4. Extend client_info and refactor the way it's passed around

    It's not possible to start a worker from outside the dispatcher
    without the receiver's client socket.
    Since client_info is already passed around,
    it's the logical place to add the socket to.
    This way we're gonna be able to start a worker inside the allocate
    request handler code.
    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    5c673e5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    fc6211f View commit details
    Browse the repository at this point in the history
  6. wip: Save state before backtracking

    client_info.port is port on which we receive datagrams from the client.
    Therefore, we can't use this client_info instance to create
    a reserved worker for the new allocation,
    as the client will connect from different port.
    We have to rely on dispatcher to create the new worker process,
    but at the same time store the reservation somewhere,
    so that it can be picked up by that new worker when it reads
    the RESERVATION-TOKEN attribute coming with an allocate request.
    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    1afe552 View commit details
    Browse the repository at this point in the history
  7. Introduce ReservationLog

    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    844154a View commit details
    Browse the repository at this point in the history
  8. Store Reservations as tuples

    This dramatically reduces the overhead (approx. 3x less space consumed per reservation).
    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    3dddeeb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2495291 View commit details
    Browse the repository at this point in the history
  10. Remove unused parameters

    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    e2de158 View commit details
    Browse the repository at this point in the history
  11. Use more lenient lookup method

    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    86919c9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    39d0bab View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    c822fe8 View commit details
    Browse the repository at this point in the history
  14. Fix a crucial typo

    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    396bdea View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    1c9faad View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    648c993 View commit details
    Browse the repository at this point in the history
  17. Adhere more closely to the RFC - make the test pass

    Until now the log was tied to the server's listening port.
    This does not work well with the test helpers we have in place,
    and is not conformant with the RFC:
    
    > [the client] can use a different client IP address and
    > port, a different transport protocol, and even different server IP
    > address and port [when requesting an allocation with a RESERVATION-TOKEN]
    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    e7cdf77 View commit details
    Browse the repository at this point in the history
  18. Remove now-unused function

    erszcz committed Apr 27, 2017
    Configuration menu
    Copy the full SHA
    5f5c333 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f91bf83 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2017

  1. Configuration menu
    Copy the full SHA
    4aa64aa View commit details
    Browse the repository at this point in the history
  2. [skip ci] Fix style

    erszcz committed Apr 28, 2017
    Configuration menu
    Copy the full SHA
    562c3db View commit details
    Browse the repository at this point in the history