1. 04 Feb, 2020 5 commits
    • Martin Blix Grydeland's avatar
      Take sizeof pool_task into account when reserving WS in SES_Wait · 2d8fc1a7
      Martin Blix Grydeland authored
      The assert on WS_ReserveSize() in ses_handle() can not trip because
      sizeof (struct pool_task) is less than sizeof (struct waited). But to safe
      guard against future problems if that were to change, this patch makes
      sure that the session workspace can hold the largest of them before
      entering the waiter, erroring out if not.
      2d8fc1a7
    • Martin Blix Grydeland's avatar
      Handle badly formatted proxy TLVs · 618e9f92
      Martin Blix Grydeland authored
      Proxy TLVs claiming to have PP2_TYPE_SSL sub-TLVs without complete payload
      would cause a Varnish assert. This patch fixes the parsing of the TLVs.
      618e9f92
    • Martin Blix Grydeland's avatar
      Remove call to SES_Reserve_proto_priv in h2_init_sess · 05027d74
      Martin Blix Grydeland authored
      h2_init_sess can only be reached through H1 with either previous knowledge
      or opportunistic upgrade. Because of this the proto_priv session attribute
      will always be set before entry. This patch simplifies and removes dead
      code containing a call to SES_Reserve_proto_priv.
      
      Note: Better diff with the --ignore-all-space option
      05027d74
    • Martin Blix Grydeland's avatar
      Remove extra call to SES_Reserve_proto_priv · 613fa433
      Martin Blix Grydeland authored
      In h2_init_sess, an extra call was always made to SES_Reseve_proto_priv(),
      even though it was already reserved. This wasted a pointer worth of
      session workspace. This patch removes the extra call.
      613fa433
    • Martin Blix Grydeland's avatar
      Handle out of session workspace in http1_new_session() · f8b9667f
      Martin Blix Grydeland authored
      If proxy protocol is in use, it is possible to fill the session workspace
      exactly before entering http1_new_session(), which will cause it to assert
      when calling SES_Reserve_proto_priv().
      
      with this patch we will close the session gracefully.
      f8b9667f
  2. 03 Feb, 2020 6 commits
  3. 31 Jan, 2020 1 commit
    • Dridi Boukelmoune's avatar
      Typo followup · 31252f80
      Dridi Boukelmoune authored
      Looking at 3ec9b582 I realized that this single sentence was packed
      with mistakes: allocation should also have been plural and it wasn't the
      third but fourth allocation that would fail (and of course the frist
      typo).
      31252f80
  4. 30 Jan, 2020 2 commits
  5. 28 Jan, 2020 1 commit
    • Nils Goroll's avatar
      the governance page has moved · 9711183d
      Nils Goroll authored
      I would have wanted to use a protocol agnostic URL, but it seems sphinx
      does not support them (//varnish-cache.org/... is interpreted as a URL).
      If anyone knows better, please improve.
      9711183d
  6. 27 Jan, 2020 13 commits
  7. 23 Jan, 2020 1 commit
  8. 21 Jan, 2020 5 commits
  9. 20 Jan, 2020 6 commits