Skip to content
Snippets Groups Projects
  1. Nov 04, 2019
  2. Nov 01, 2019
  3. Oct 31, 2019
  4. Oct 30, 2019
    • Daniel Bevenius's avatar
      Add default clause to switch statements · 39517705
      Daniel Bevenius authored
      When compiling with the flag -Wswitch-enum there are a number of
      warnings like the following:
      ngtcp2_conn.c:7960:11: warning:
      7 enumeration values not handled in switch:
        'NGTCP2_CS_CLIENT_INITIAL',
        'NGTCP2_CS_CLIENT_WAIT_HANDSHAKE',
        'NGTCP2_CS_CLIENT_TLS_HANDSHAKE_FAILED'... [-Wswitch]
        switch (conn->state) {
      
      This commit adds a default clause to avoid this as they are reported as
      errors on the CI server and failing the build.
      39517705
  5. Oct 29, 2019
  6. Oct 28, 2019
  7. Oct 27, 2019
  8. Oct 26, 2019
    • Amir Livneh's avatar
      Check mmap's return value · 7e7ce0d5
      Amir Livneh authored
      Previously, when mmap() failed the client example crashed deep inside ngtcp2 on trying to access address 0xffffffffffffffff. This can happen for example if `--data` specifies a directory.
      7e7ce0d5
  9. Oct 25, 2019
  10. Oct 24, 2019