Skip to content

Improved estimation of wait in gnutls_session_get_data2

Nikos Mavrogiannopoulos requested to merge tmp-improve-session-resumption into master

Previously we would wait an arbitrary value of 50ms for the server to send session tickets. This change makes the client wait for the estimated round-trip time + 100 ms for the server to calculate the session tickets. This improves the chance to obtain tickets from internet servers during the call of gnutls_session_get_data2().

Checklist

  • Code modified for feature

Reviewer's checklist:

  • Any issues marked for closing are addressed
  • There is a test suite reasonably covering new functionality or modifications
  • Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTION.md
  • This feature/change has adequate documentation added
  • No obvious mistakes in the code
Edited by Nikos Mavrogiannopoulos

Merge request reports

Loading