protocol-quic 0.0.0 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/ext/rakefile.rb +16 -0
- data/ext/ruby-protocol-quic-lock.yml +73 -0
- data/ext/teapot.rb +49 -0
- data/lib/protocol/quic/version.rb +4 -2
- data/lib/protocol/quic.rb +5 -5
- data/license.md +1 -1
- data/readme.md +55 -0
- data/releases.md +3 -0
- data.tar.gz.sig +3 -1
- metadata +32 -350
- metadata.gz.sig +0 -0
- data/ext/ngtcp2/AUTHORS +0 -44
- data/ext/ngtcp2/CMakeLists.txt +0 -431
- data/ext/ngtcp2/CMakeOptions.txt +0 -17
- data/ext/ngtcp2/COPYING +0 -22
- data/ext/ngtcp2/ChangeLog +0 -0
- data/ext/ngtcp2/Makefile.am +0 -60
- data/ext/ngtcp2/NEWS +0 -0
- data/ext/ngtcp2/README +0 -1
- data/ext/ngtcp2/README.rst +0 -258
- data/ext/ngtcp2/ci/build_boringssl.sh +0 -10
- data/ext/ngtcp2/ci/build_nghttp3.sh +0 -9
- data/ext/ngtcp2/ci/build_openssl1.sh +0 -8
- data/ext/ngtcp2/ci/build_openssl1_cross.sh +0 -9
- data/ext/ngtcp2/ci/build_openssl3.sh +0 -8
- data/ext/ngtcp2/ci/build_picotls.sh +0 -26
- data/ext/ngtcp2/ci/build_wolfssl.sh +0 -9
- data/ext/ngtcp2/ci/gen-certificate.sh +0 -8
- data/ext/ngtcp2/cmake/ExtractValidFlags.cmake +0 -31
- data/ext/ngtcp2/cmake/FindCUnit.cmake +0 -40
- data/ext/ngtcp2/cmake/FindJemalloc.cmake +0 -40
- data/ext/ngtcp2/cmake/FindLibev.cmake +0 -38
- data/ext/ngtcp2/cmake/FindLibnghttp3.cmake +0 -41
- data/ext/ngtcp2/cmake/Findwolfssl.cmake +0 -41
- data/ext/ngtcp2/cmake/Version.cmake +0 -11
- data/ext/ngtcp2/cmakeconfig.h.in +0 -36
- data/ext/ngtcp2/configure.ac +0 -755
- data/ext/ngtcp2/crypto/CMakeLists.txt +0 -56
- data/ext/ngtcp2/crypto/Makefile.am +0 -49
- data/ext/ngtcp2/crypto/boringssl/CMakeLists.txt +0 -64
- data/ext/ngtcp2/crypto/boringssl/Makefile.am +0 -39
- data/ext/ngtcp2/crypto/boringssl/boringssl.c +0 -630
- data/ext/ngtcp2/crypto/boringssl/libngtcp2_crypto_boringssl.pc.in +0 -33
- data/ext/ngtcp2/crypto/gnutls/CMakeLists.txt +0 -86
- data/ext/ngtcp2/crypto/gnutls/Makefile.am +0 -43
- data/ext/ngtcp2/crypto/gnutls/gnutls.c +0 -644
- data/ext/ngtcp2/crypto/gnutls/libngtcp2_crypto_gnutls.pc.in +0 -33
- data/ext/ngtcp2/crypto/includes/CMakeLists.txt +0 -56
- data/ext/ngtcp2/crypto/includes/Makefile.am +0 -45
- data/ext/ngtcp2/crypto/includes/ngtcp2/ngtcp2_crypto.h +0 -893
- data/ext/ngtcp2/crypto/includes/ngtcp2/ngtcp2_crypto_boringssl.h +0 -104
- data/ext/ngtcp2/crypto/includes/ngtcp2/ngtcp2_crypto_gnutls.h +0 -107
- data/ext/ngtcp2/crypto/includes/ngtcp2/ngtcp2_crypto_openssl.h +0 -132
- data/ext/ngtcp2/crypto/includes/ngtcp2/ngtcp2_crypto_picotls.h +0 -246
- data/ext/ngtcp2/crypto/includes/ngtcp2/ngtcp2_crypto_wolfssl.h +0 -106
- data/ext/ngtcp2/crypto/openssl/CMakeLists.txt +0 -86
- data/ext/ngtcp2/crypto/openssl/Makefile.am +0 -43
- data/ext/ngtcp2/crypto/openssl/libngtcp2_crypto_openssl.pc.in +0 -33
- data/ext/ngtcp2/crypto/openssl/openssl.c +0 -807
- data/ext/ngtcp2/crypto/picotls/CMakeLists.txt +0 -65
- data/ext/ngtcp2/crypto/picotls/Makefile.am +0 -39
- data/ext/ngtcp2/crypto/picotls/libngtcp2_crypto_picotls.pc.in +0 -33
- data/ext/ngtcp2/crypto/picotls/picotls.c +0 -707
- data/ext/ngtcp2/crypto/shared.c +0 -1431
- data/ext/ngtcp2/crypto/shared.h +0 -350
- data/ext/ngtcp2/crypto/wolfssl/CMakeLists.txt +0 -84
- data/ext/ngtcp2/crypto/wolfssl/Makefile.am +0 -43
- data/ext/ngtcp2/crypto/wolfssl/libngtcp2_crypto_wolfssl.pc.in +0 -33
- data/ext/ngtcp2/crypto/wolfssl/wolfssl.c +0 -534
- data/ext/ngtcp2/doc/Makefile.am +0 -65
- data/ext/ngtcp2/doc/make.bat +0 -35
- data/ext/ngtcp2/doc/mkapiref.py +0 -356
- data/ext/ngtcp2/doc/source/conf.py.in +0 -94
- data/ext/ngtcp2/doc/source/index.rst +0 -22
- data/ext/ngtcp2/doc/source/programmers-guide.rst +0 -476
- data/ext/ngtcp2/docker/Dockerfile +0 -39
- data/ext/ngtcp2/examples/CMakeLists.txt +0 -361
- data/ext/ngtcp2/examples/Makefile.am +0 -228
- data/ext/ngtcp2/examples/client.cc +0 -3049
- data/ext/ngtcp2/examples/client.h +0 -192
- data/ext/ngtcp2/examples/client_base.cc +0 -202
- data/ext/ngtcp2/examples/client_base.h +0 -213
- data/ext/ngtcp2/examples/debug.cc +0 -298
- data/ext/ngtcp2/examples/debug.h +0 -124
- data/ext/ngtcp2/examples/examplestest.cc +0 -84
- data/ext/ngtcp2/examples/gtlssimpleclient.c +0 -720
- data/ext/ngtcp2/examples/h09client.cc +0 -2601
- data/ext/ngtcp2/examples/h09client.h +0 -196
- data/ext/ngtcp2/examples/h09server.cc +0 -3024
- data/ext/ngtcp2/examples/h09server.h +0 -237
- data/ext/ngtcp2/examples/http.cc +0 -138
- data/ext/ngtcp2/examples/http.h +0 -44
- data/ext/ngtcp2/examples/network.h +0 -80
- data/ext/ngtcp2/examples/server.cc +0 -3731
- data/ext/ngtcp2/examples/server.h +0 -256
- data/ext/ngtcp2/examples/server_base.cc +0 -58
- data/ext/ngtcp2/examples/server_base.h +0 -195
- data/ext/ngtcp2/examples/shared.cc +0 -385
- data/ext/ngtcp2/examples/shared.h +0 -96
- data/ext/ngtcp2/examples/simpleclient.c +0 -683
- data/ext/ngtcp2/examples/template.h +0 -71
- data/ext/ngtcp2/examples/tests/README.rst +0 -60
- data/ext/ngtcp2/examples/tests/__init__.py +0 -0
- data/ext/ngtcp2/examples/tests/config.ini.in +0 -32
- data/ext/ngtcp2/examples/tests/conftest.py +0 -28
- data/ext/ngtcp2/examples/tests/ngtcp2test/__init__.py +0 -6
- data/ext/ngtcp2/examples/tests/ngtcp2test/certs.py +0 -476
- data/ext/ngtcp2/examples/tests/ngtcp2test/client.py +0 -187
- data/ext/ngtcp2/examples/tests/ngtcp2test/env.py +0 -191
- data/ext/ngtcp2/examples/tests/ngtcp2test/log.py +0 -101
- data/ext/ngtcp2/examples/tests/ngtcp2test/server.py +0 -137
- data/ext/ngtcp2/examples/tests/ngtcp2test/tls.py +0 -983
- data/ext/ngtcp2/examples/tests/test_01_handshake.py +0 -30
- data/ext/ngtcp2/examples/tests/test_02_resume.py +0 -46
- data/ext/ngtcp2/examples/tests/test_03_earlydata.py +0 -56
- data/ext/ngtcp2/examples/tests/test_04_clientcert.py +0 -57
- data/ext/ngtcp2/examples/tests/test_05_ciphers.py +0 -46
- data/ext/ngtcp2/examples/tls_client_context.h +0 -52
- data/ext/ngtcp2/examples/tls_client_context_boringssl.cc +0 -126
- data/ext/ngtcp2/examples/tls_client_context_boringssl.h +0 -49
- data/ext/ngtcp2/examples/tls_client_context_gnutls.cc +0 -74
- data/ext/ngtcp2/examples/tls_client_context_gnutls.h +0 -50
- data/ext/ngtcp2/examples/tls_client_context_openssl.cc +0 -137
- data/ext/ngtcp2/examples/tls_client_context_openssl.h +0 -49
- data/ext/ngtcp2/examples/tls_client_context_picotls.cc +0 -158
- data/ext/ngtcp2/examples/tls_client_context_picotls.h +0 -53
- data/ext/ngtcp2/examples/tls_client_context_wolfssl.cc +0 -177
- data/ext/ngtcp2/examples/tls_client_context_wolfssl.h +0 -51
- data/ext/ngtcp2/examples/tls_client_session.h +0 -52
- data/ext/ngtcp2/examples/tls_client_session_boringssl.cc +0 -110
- data/ext/ngtcp2/examples/tls_client_session_boringssl.h +0 -52
- data/ext/ngtcp2/examples/tls_client_session_gnutls.cc +0 -190
- data/ext/ngtcp2/examples/tls_client_session_gnutls.h +0 -52
- data/ext/ngtcp2/examples/tls_client_session_openssl.cc +0 -113
- data/ext/ngtcp2/examples/tls_client_session_openssl.h +0 -52
- data/ext/ngtcp2/examples/tls_client_session_picotls.cc +0 -147
- data/ext/ngtcp2/examples/tls_client_session_picotls.h +0 -52
- data/ext/ngtcp2/examples/tls_client_session_wolfssl.cc +0 -160
- data/ext/ngtcp2/examples/tls_client_session_wolfssl.h +0 -52
- data/ext/ngtcp2/examples/tls_server_context.h +0 -52
- data/ext/ngtcp2/examples/tls_server_context_boringssl.cc +0 -257
- data/ext/ngtcp2/examples/tls_server_context_boringssl.h +0 -54
- data/ext/ngtcp2/examples/tls_server_context_gnutls.cc +0 -99
- data/ext/ngtcp2/examples/tls_server_context_gnutls.h +0 -59
- data/ext/ngtcp2/examples/tls_server_context_openssl.cc +0 -338
- data/ext/ngtcp2/examples/tls_server_context_openssl.h +0 -54
- data/ext/ngtcp2/examples/tls_server_context_picotls.cc +0 -321
- data/ext/ngtcp2/examples/tls_server_context_picotls.h +0 -58
- data/ext/ngtcp2/examples/tls_server_context_wolfssl.cc +0 -284
- data/ext/ngtcp2/examples/tls_server_context_wolfssl.h +0 -55
- data/ext/ngtcp2/examples/tls_server_session.h +0 -52
- data/ext/ngtcp2/examples/tls_server_session_boringssl.cc +0 -84
- data/ext/ngtcp2/examples/tls_server_session_boringssl.h +0 -47
- data/ext/ngtcp2/examples/tls_server_session_gnutls.cc +0 -155
- data/ext/ngtcp2/examples/tls_server_session_gnutls.h +0 -46
- data/ext/ngtcp2/examples/tls_server_session_openssl.cc +0 -54
- data/ext/ngtcp2/examples/tls_server_session_openssl.h +0 -47
- data/ext/ngtcp2/examples/tls_server_session_picotls.cc +0 -70
- data/ext/ngtcp2/examples/tls_server_session_picotls.h +0 -47
- data/ext/ngtcp2/examples/tls_server_session_wolfssl.cc +0 -55
- data/ext/ngtcp2/examples/tls_server_session_wolfssl.h +0 -47
- data/ext/ngtcp2/examples/tls_session_base_gnutls.cc +0 -87
- data/ext/ngtcp2/examples/tls_session_base_gnutls.h +0 -51
- data/ext/ngtcp2/examples/tls_session_base_openssl.cc +0 -54
- data/ext/ngtcp2/examples/tls_session_base_openssl.h +0 -52
- data/ext/ngtcp2/examples/tls_session_base_picotls.cc +0 -56
- data/ext/ngtcp2/examples/tls_session_base_picotls.h +0 -54
- data/ext/ngtcp2/examples/tls_session_base_wolfssl.cc +0 -54
- data/ext/ngtcp2/examples/tls_session_base_wolfssl.h +0 -54
- data/ext/ngtcp2/examples/tls_shared_picotls.cc +0 -59
- data/ext/ngtcp2/examples/tls_shared_picotls.h +0 -36
- data/ext/ngtcp2/examples/util.cc +0 -646
- data/ext/ngtcp2/examples/util.h +0 -361
- data/ext/ngtcp2/examples/util_gnutls.cc +0 -136
- data/ext/ngtcp2/examples/util_openssl.cc +0 -131
- data/ext/ngtcp2/examples/util_test.cc +0 -237
- data/ext/ngtcp2/examples/util_test.h +0 -45
- data/ext/ngtcp2/examples/util_wolfssl.cc +0 -130
- data/ext/ngtcp2/fuzz/corpus/decode_frame/ack +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/ack_ecn +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/connection_close +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/crypto +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/data_blocked +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/datagram +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/datagram_len +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/max_data +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/max_stream_data +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/max_streams +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/new_connection_id +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/new_token +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/path_challenge +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/path_response +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/reset_stream +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/retire_connection_id +0 -1
- data/ext/ngtcp2/fuzz/corpus/decode_frame/stop_sending +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/stream +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/stream_data_blocked +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/stream_len +0 -0
- data/ext/ngtcp2/fuzz/corpus/decode_frame/streams_blocked +0 -0
- data/ext/ngtcp2/fuzz/corpus/ksl/random +0 -0
- data/ext/ngtcp2/fuzz/decode_frame.cc +0 -25
- data/ext/ngtcp2/fuzz/ksl.cc +0 -77
- data/ext/ngtcp2/interop/Dockerfile +0 -39
- data/ext/ngtcp2/interop/run_endpoint.sh +0 -93
- data/ext/ngtcp2/lib/CMakeLists.txt +0 -110
- data/ext/ngtcp2/lib/Makefile.am +0 -122
- data/ext/ngtcp2/lib/includes/CMakeLists.txt +0 -4
- data/ext/ngtcp2/lib/includes/Makefile.am +0 -25
- data/ext/ngtcp2/lib/includes/ngtcp2/ngtcp2.h +0 -5843
- data/ext/ngtcp2/lib/includes/ngtcp2/version.h.in +0 -51
- data/ext/ngtcp2/lib/libngtcp2.pc.in +0 -33
- data/ext/ngtcp2/lib/ngtcp2_acktr.c +0 -335
- data/ext/ngtcp2/lib/ngtcp2_acktr.h +0 -221
- data/ext/ngtcp2/lib/ngtcp2_addr.c +0 -117
- data/ext/ngtcp2/lib/ngtcp2_addr.h +0 -69
- data/ext/ngtcp2/lib/ngtcp2_balloc.c +0 -90
- data/ext/ngtcp2/lib/ngtcp2_balloc.h +0 -91
- data/ext/ngtcp2/lib/ngtcp2_bbr.c +0 -693
- data/ext/ngtcp2/lib/ngtcp2_bbr.h +0 -157
- data/ext/ngtcp2/lib/ngtcp2_bbr2.c +0 -1490
- data/ext/ngtcp2/lib/ngtcp2_bbr2.h +0 -149
- data/ext/ngtcp2/lib/ngtcp2_buf.c +0 -56
- data/ext/ngtcp2/lib/ngtcp2_buf.h +0 -108
- data/ext/ngtcp2/lib/ngtcp2_cc.c +0 -616
- data/ext/ngtcp2/lib/ngtcp2_cc.h +0 -422
- data/ext/ngtcp2/lib/ngtcp2_cid.c +0 -147
- data/ext/ngtcp2/lib/ngtcp2_cid.h +0 -175
- data/ext/ngtcp2/lib/ngtcp2_conn.c +0 -13731
- data/ext/ngtcp2/lib/ngtcp2_conn.h +0 -1119
- data/ext/ngtcp2/lib/ngtcp2_conn_stat.h +0 -131
- data/ext/ngtcp2/lib/ngtcp2_conv.c +0 -291
- data/ext/ngtcp2/lib/ngtcp2_conv.h +0 -208
- data/ext/ngtcp2/lib/ngtcp2_crypto.c +0 -895
- data/ext/ngtcp2/lib/ngtcp2_crypto.h +0 -148
- data/ext/ngtcp2/lib/ngtcp2_err.c +0 -154
- data/ext/ngtcp2/lib/ngtcp2_err.h +0 -34
- data/ext/ngtcp2/lib/ngtcp2_gaptr.c +0 -167
- data/ext/ngtcp2/lib/ngtcp2_gaptr.h +0 -98
- data/ext/ngtcp2/lib/ngtcp2_idtr.c +0 -79
- data/ext/ngtcp2/lib/ngtcp2_idtr.h +0 -89
- data/ext/ngtcp2/lib/ngtcp2_ksl.c +0 -819
- data/ext/ngtcp2/lib/ngtcp2_ksl.h +0 -345
- data/ext/ngtcp2/lib/ngtcp2_log.c +0 -822
- data/ext/ngtcp2/lib/ngtcp2_log.h +0 -123
- data/ext/ngtcp2/lib/ngtcp2_macro.h +0 -58
- data/ext/ngtcp2/lib/ngtcp2_map.c +0 -336
- data/ext/ngtcp2/lib/ngtcp2_map.h +0 -136
- data/ext/ngtcp2/lib/ngtcp2_mem.c +0 -113
- data/ext/ngtcp2/lib/ngtcp2_mem.h +0 -72
- data/ext/ngtcp2/lib/ngtcp2_net.h +0 -136
- data/ext/ngtcp2/lib/ngtcp2_objalloc.c +0 -40
- data/ext/ngtcp2/lib/ngtcp2_objalloc.h +0 -140
- data/ext/ngtcp2/lib/ngtcp2_opl.c +0 -46
- data/ext/ngtcp2/lib/ngtcp2_opl.h +0 -65
- data/ext/ngtcp2/lib/ngtcp2_path.c +0 -77
- data/ext/ngtcp2/lib/ngtcp2_path.h +0 -49
- data/ext/ngtcp2/lib/ngtcp2_pkt.c +0 -2527
- data/ext/ngtcp2/lib/ngtcp2_pkt.h +0 -1235
- data/ext/ngtcp2/lib/ngtcp2_pmtud.c +0 -160
- data/ext/ngtcp2/lib/ngtcp2_pmtud.h +0 -123
- data/ext/ngtcp2/lib/ngtcp2_ppe.c +0 -230
- data/ext/ngtcp2/lib/ngtcp2_ppe.h +0 -153
- data/ext/ngtcp2/lib/ngtcp2_pq.c +0 -164
- data/ext/ngtcp2/lib/ngtcp2_pq.h +0 -126
- data/ext/ngtcp2/lib/ngtcp2_pv.c +0 -172
- data/ext/ngtcp2/lib/ngtcp2_pv.h +0 -194
- data/ext/ngtcp2/lib/ngtcp2_qlog.c +0 -1219
- data/ext/ngtcp2/lib/ngtcp2_qlog.h +0 -161
- data/ext/ngtcp2/lib/ngtcp2_range.c +0 -61
- data/ext/ngtcp2/lib/ngtcp2_range.h +0 -80
- data/ext/ngtcp2/lib/ngtcp2_rcvry.h +0 -40
- data/ext/ngtcp2/lib/ngtcp2_ringbuf.c +0 -121
- data/ext/ngtcp2/lib/ngtcp2_ringbuf.h +0 -132
- data/ext/ngtcp2/lib/ngtcp2_rob.c +0 -319
- data/ext/ngtcp2/lib/ngtcp2_rob.h +0 -197
- data/ext/ngtcp2/lib/ngtcp2_rst.c +0 -138
- data/ext/ngtcp2/lib/ngtcp2_rst.h +0 -86
- data/ext/ngtcp2/lib/ngtcp2_rtb.c +0 -1676
- data/ext/ngtcp2/lib/ngtcp2_rtb.h +0 -468
- data/ext/ngtcp2/lib/ngtcp2_str.c +0 -233
- data/ext/ngtcp2/lib/ngtcp2_str.h +0 -94
- data/ext/ngtcp2/lib/ngtcp2_strm.c +0 -698
- data/ext/ngtcp2/lib/ngtcp2_strm.h +0 -310
- data/ext/ngtcp2/lib/ngtcp2_unreachable.c +0 -71
- data/ext/ngtcp2/lib/ngtcp2_unreachable.h +0 -46
- data/ext/ngtcp2/lib/ngtcp2_vec.c +0 -243
- data/ext/ngtcp2/lib/ngtcp2_vec.h +0 -120
- data/ext/ngtcp2/lib/ngtcp2_version.c +0 -39
- data/ext/ngtcp2/lib/ngtcp2_window_filter.c +0 -99
- data/ext/ngtcp2/lib/ngtcp2_window_filter.h +0 -65
- data/ext/ngtcp2/m4/ax_check_compile_flag.m4 +0 -74
- data/ext/ngtcp2/m4/ax_cxx_compile_stdcxx.m4 +0 -1009
- data/ext/ngtcp2/tests/CMakeLists.txt +0 -68
- data/ext/ngtcp2/tests/Makefile.am +0 -94
- data/ext/ngtcp2/tests/main.c +0 -358
- data/ext/ngtcp2/tests/ngtcp2_acktr_test.c +0 -367
- data/ext/ngtcp2/tests/ngtcp2_acktr_test.h +0 -37
- data/ext/ngtcp2/tests/ngtcp2_conn_test.c +0 -9821
- data/ext/ngtcp2/tests/ngtcp2_conn_test.h +0 -104
- data/ext/ngtcp2/tests/ngtcp2_conv_test.c +0 -430
- data/ext/ngtcp2/tests/ngtcp2_conv_test.h +0 -46
- data/ext/ngtcp2/tests/ngtcp2_crypto_test.c +0 -667
- data/ext/ngtcp2/tests/ngtcp2_crypto_test.h +0 -35
- data/ext/ngtcp2/tests/ngtcp2_gaptr_test.c +0 -127
- data/ext/ngtcp2/tests/ngtcp2_gaptr_test.h +0 -36
- data/ext/ngtcp2/tests/ngtcp2_idtr_test.c +0 -79
- data/ext/ngtcp2/tests/ngtcp2_idtr_test.h +0 -34
- data/ext/ngtcp2/tests/ngtcp2_ksl_test.c +0 -502
- data/ext/ngtcp2/tests/ngtcp2_ksl_test.h +0 -39
- data/ext/ngtcp2/tests/ngtcp2_map_test.c +0 -206
- data/ext/ngtcp2/tests/ngtcp2_map_test.h +0 -38
- data/ext/ngtcp2/tests/ngtcp2_pkt_test.c +0 -1645
- data/ext/ngtcp2/tests/ngtcp2_pkt_test.h +0 -68
- data/ext/ngtcp2/tests/ngtcp2_pmtud_test.c +0 -153
- data/ext/ngtcp2/tests/ngtcp2_pmtud_test.h +0 -34
- data/ext/ngtcp2/tests/ngtcp2_pv_test.c +0 -129
- data/ext/ngtcp2/tests/ngtcp2_pv_test.h +0 -35
- data/ext/ngtcp2/tests/ngtcp2_range_test.c +0 -105
- data/ext/ngtcp2/tests/ngtcp2_range_test.h +0 -36
- data/ext/ngtcp2/tests/ngtcp2_ringbuf_test.c +0 -91
- data/ext/ngtcp2/tests/ngtcp2_ringbuf_test.h +0 -35
- data/ext/ngtcp2/tests/ngtcp2_rob_test.c +0 -552
- data/ext/ngtcp2/tests/ngtcp2_rob_test.h +0 -37
- data/ext/ngtcp2/tests/ngtcp2_rtb_test.c +0 -470
- data/ext/ngtcp2/tests/ngtcp2_rtb_test.h +0 -38
- data/ext/ngtcp2/tests/ngtcp2_str_test.c +0 -96
- data/ext/ngtcp2/tests/ngtcp2_str_test.h +0 -36
- data/ext/ngtcp2/tests/ngtcp2_strm_test.c +0 -575
- data/ext/ngtcp2/tests/ngtcp2_strm_test.h +0 -36
- data/ext/ngtcp2/tests/ngtcp2_test_helper.c +0 -404
- data/ext/ngtcp2/tests/ngtcp2_test_helper.h +0 -191
- data/ext/ngtcp2/tests/ngtcp2_vec_test.c +0 -426
- data/ext/ngtcp2/tests/ngtcp2_vec_test.h +0 -36
- data/ext/ngtcp2/third-party/CMakeLists.txt +0 -34
- data/ext/ngtcp2/third-party/Makefile.am +0 -31
- data/ext/ngtcp2/third-party/http-parser/AUTHORS +0 -68
- data/ext/ngtcp2/third-party/http-parser/LICENSE-MIT +0 -23
- data/ext/ngtcp2/third-party/http-parser/Makefile +0 -157
- data/ext/ngtcp2/third-party/http-parser/README.md +0 -246
- data/ext/ngtcp2/third-party/http-parser/bench.c +0 -111
- data/ext/ngtcp2/third-party/http-parser/contrib/parsertrace.c +0 -160
- data/ext/ngtcp2/third-party/http-parser/contrib/url_parser.c +0 -47
- data/ext/ngtcp2/third-party/http-parser/http_parser.c +0 -2419
- data/ext/ngtcp2/third-party/http-parser/http_parser.gyp +0 -111
- data/ext/ngtcp2/third-party/http-parser/http_parser.h +0 -431
- data/ext/ngtcp2/third-party/http-parser/test.c +0 -4411
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b3b7b2ca3d192e58b1004b5195ced702d8fa037ed0c1e0e6c16d102117f10ec1
|
|
4
|
+
data.tar.gz: 90843655fcb8333c7e5d8b3726f6cf8e692a2aae742d767ce5c081b60865acc4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1dc64d53db85dae62764fffb2235ac691d574a476b7fa90052e32ab64b85adc55b594bc49787fc50291234d0cea92eabf7cc714dbe746edd620a73eebae50bda
|
|
7
|
+
data.tar.gz: dae982642da90c173acab712ec31b477a41e66587f40306866e3d4da3f8b1d0443ce029b6dc794422dff769fdf2e1f6b42db7002a3a91b0d391084744e6e271b
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/ext/rakefile.rb
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2023-2026, by Samuel Williams.
|
|
5
|
+
|
|
6
|
+
require "rbconfig"
|
|
7
|
+
require "rubygems"
|
|
8
|
+
|
|
9
|
+
task :default do
|
|
10
|
+
ruby_library_directory = ENV.fetch("RUBYLIBDIR"){ENV.fetch("RUBYARCHDIR")}
|
|
11
|
+
build_environment = {"RUBYLIBDIR" => ruby_library_directory}
|
|
12
|
+
teapot = [RbConfig.ruby, Gem.bin_path("teapot", "teapot")]
|
|
13
|
+
|
|
14
|
+
sh build_environment, *teapot, "fetch"
|
|
15
|
+
sh build_environment, *teapot, "Ruby/Protocol/QUIC"
|
|
16
|
+
end
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
---
|
|
2
|
+
platforms:
|
|
3
|
+
:commit: 53bfdd34201790980ba8f4c335dbf659d038eb06
|
|
4
|
+
:branch: master
|
|
5
|
+
build-make:
|
|
6
|
+
:commit: 50998307f3d1f462c2bda1999b42b2ea8aeb4b15
|
|
7
|
+
:branch: master
|
|
8
|
+
build-cmake:
|
|
9
|
+
:commit: 6558fdad5bbb475f0fa5584ff773de8f12ff232e
|
|
10
|
+
:branch: master
|
|
11
|
+
scheduler-ruby:
|
|
12
|
+
:commit: 8e4e36bfd47485e8379b3d9c0e4258dec63b7320
|
|
13
|
+
:branch: main
|
|
14
|
+
protocol-quic:
|
|
15
|
+
:commit: 9900a7fe0407a2a4ae0a8e0508d6ad8d52f66c27
|
|
16
|
+
:branch: main
|
|
17
|
+
ruby:
|
|
18
|
+
:commit: 685cdd5a421dae7749f368d08add9aa9709ad043
|
|
19
|
+
:branch: main
|
|
20
|
+
generate-template:
|
|
21
|
+
:commit: ad0dcfb6da64cc0508b71916b30e1050c82ecea7
|
|
22
|
+
:branch: master
|
|
23
|
+
generate-cpp-class:
|
|
24
|
+
:commit: b8996bd1404904a737b76d6893fc9f9bf78da540
|
|
25
|
+
:branch: master
|
|
26
|
+
build-compile-commands:
|
|
27
|
+
:commit: 1c4b18f86d45426d7dd284c28bc53837e5694b6c
|
|
28
|
+
:branch: main
|
|
29
|
+
variants:
|
|
30
|
+
:commit: f6a26a8ac3a47a23a213cbd15da2183239d394d1
|
|
31
|
+
:branch: master
|
|
32
|
+
platform-darwin-osx:
|
|
33
|
+
:commit: dbd14d21c11e85f6fc067529a63f81cf5e6604d2
|
|
34
|
+
:branch: master
|
|
35
|
+
platform-darwin-ios:
|
|
36
|
+
:commit: d0611a1afac738012ffb7c51185499292e9a87ba
|
|
37
|
+
:branch: master
|
|
38
|
+
build-clang:
|
|
39
|
+
:commit: 1c9be15a63c149f6decf8d0599b34755aa3b0979
|
|
40
|
+
:branch: master
|
|
41
|
+
build-darwin:
|
|
42
|
+
:commit: 0d68478a7754741dd5d360f70294161efdee030d
|
|
43
|
+
:branch: master
|
|
44
|
+
build-files:
|
|
45
|
+
:commit: 2e5392ef4e171885b621288c7829e5160f1255bf
|
|
46
|
+
:branch: master
|
|
47
|
+
executor-unix:
|
|
48
|
+
:commit: 91f433a59550b826f7bc69e36d1df9c6e5576575
|
|
49
|
+
:branch: master
|
|
50
|
+
executor-lldb:
|
|
51
|
+
:commit: 193ba0b15c532d2745b0f0bfb05cd9581e869555
|
|
52
|
+
:branch: master
|
|
53
|
+
time:
|
|
54
|
+
:commit: c1ec0bb4fc9abca3de559a87884bdbc1413b3f1f
|
|
55
|
+
:branch: main
|
|
56
|
+
nghttp3:
|
|
57
|
+
:commit: 922c2aaca406840a63ce2c4a808d9c888538671d
|
|
58
|
+
:branch: main
|
|
59
|
+
ngtcp2:
|
|
60
|
+
:commit: c65334b60a04200b1691da3d85d38444c5ff951d
|
|
61
|
+
:branch: main
|
|
62
|
+
picotls:
|
|
63
|
+
:commit: 2bc03af57a8ea09f3b0bd11c47c876fd3bc1d9fc
|
|
64
|
+
:branch: main
|
|
65
|
+
openssl:
|
|
66
|
+
:commit: 2f48d686aaaf20dc6d7e8a277803657eb5951530
|
|
67
|
+
:branch: main
|
|
68
|
+
platform-linux:
|
|
69
|
+
:commit: c3c5cbf90d26d23c6137def781cd997ddca5e51a
|
|
70
|
+
:branch: master
|
|
71
|
+
build-linux:
|
|
72
|
+
:commit: cbc8c52c2ca2fc75761e545c83429ef34e4cd4fe
|
|
73
|
+
:branch: master
|
data/ext/teapot.rb
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Released under the MIT License.
|
|
4
|
+
# Copyright, 2023-2026, by Samuel Williams.
|
|
5
|
+
|
|
6
|
+
teapot_version "3.0"
|
|
7
|
+
|
|
8
|
+
define_project "ruby-protocol-quic" do |project|
|
|
9
|
+
project.title = "Protocol::QUIC"
|
|
10
|
+
project.license = "MIT License"
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
define_target "ruby-protocol-quic" do |target|
|
|
14
|
+
target.depends "Language/C++17"
|
|
15
|
+
|
|
16
|
+
target.depends "Library/Protocol/QUIC"
|
|
17
|
+
# target.depends "Library/ruby"
|
|
18
|
+
|
|
19
|
+
target.depends "Build/Files"
|
|
20
|
+
target.depends "Build/Compile/Commands"
|
|
21
|
+
|
|
22
|
+
target.provides "Ruby/Protocol/QUIC" do
|
|
23
|
+
source_root = target.package.path + "source"
|
|
24
|
+
|
|
25
|
+
library_path = build dynamic_library: "Protocol_QUIC", source_files: source_root.glob("**/*.{c,cpp}")
|
|
26
|
+
|
|
27
|
+
copy source: [library_path], prefix: environment[:ruby_install_path]
|
|
28
|
+
|
|
29
|
+
compile_commands destination_path: (source_root + "compile_commands.json")
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
define_configuration "ruby-protocol-quic" do |configuration|
|
|
34
|
+
configuration[:source] = "https://github.com/kurocha/"
|
|
35
|
+
|
|
36
|
+
configuration.require "platforms"
|
|
37
|
+
|
|
38
|
+
configuration.require "build-make"
|
|
39
|
+
configuration.require "build-cmake"
|
|
40
|
+
|
|
41
|
+
configuration.require "scheduler-ruby"
|
|
42
|
+
configuration.require "protocol-quic"
|
|
43
|
+
configuration.require "ruby"
|
|
44
|
+
|
|
45
|
+
configuration.require "generate-template"
|
|
46
|
+
configuration.require "generate-cpp-class"
|
|
47
|
+
|
|
48
|
+
configuration.require "build-compile-commands"
|
|
49
|
+
end
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# Released under the MIT License.
|
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
|
4
|
+
# Copyright, 2023-2026, by Samuel Williams.
|
|
5
5
|
|
|
6
|
+
# @namespace
|
|
6
7
|
module Protocol
|
|
8
|
+
# @namespace
|
|
7
9
|
module QUIC
|
|
8
|
-
VERSION = "0.0.
|
|
10
|
+
VERSION = "0.0.2"
|
|
9
11
|
end
|
|
10
12
|
end
|
data/lib/protocol/quic.rb
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# Released under the MIT License.
|
|
4
|
-
# Copyright, 2023, by Samuel Williams.
|
|
4
|
+
# Copyright, 2023-2026, by Samuel Williams.
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
# Native extension:
|
|
7
|
+
require "Protocol_QUIC"
|
|
8
|
+
|
|
9
|
+
require_relative "quic/version"
|
data/license.md
CHANGED
data/readme.md
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Protocol::QUIC
|
|
2
|
+
|
|
3
|
+
Provides a low-level QUIC protocol implementation using [ngtcp2](https://github.com/ngtcp2/ngtcp2).
|
|
4
|
+
|
|
5
|
+
[](https://github.com/socketry/protocol-quic/actions?workflow=Test)
|
|
6
|
+
|
|
7
|
+
## Features
|
|
8
|
+
|
|
9
|
+
- Native QUIC connection, stream, socket and dispatcher primitives.
|
|
10
|
+
- TLS client and server context integration.
|
|
11
|
+
- Extensible Ruby subclasses for clients, servers, streams and dispatchers.
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Please see the [project documentation](https://socketry.github.io/protocol-quic/) for more details.
|
|
16
|
+
|
|
17
|
+
## Releases
|
|
18
|
+
|
|
19
|
+
Please see the [project releases](https://socketry.github.io/protocol-quic/releases/index) for all releases.
|
|
20
|
+
|
|
21
|
+
### v0.0.1
|
|
22
|
+
|
|
23
|
+
## Contributing
|
|
24
|
+
|
|
25
|
+
We welcome contributions to this project.
|
|
26
|
+
|
|
27
|
+
1. Fork it.
|
|
28
|
+
2. Create your feature branch (`git checkout -b my-new-feature`).
|
|
29
|
+
3. Commit your changes (`git commit -am 'Add some feature'`).
|
|
30
|
+
4. Push to the branch (`git push origin my-new-feature`).
|
|
31
|
+
5. Create new Pull Request.
|
|
32
|
+
|
|
33
|
+
### Running Tests
|
|
34
|
+
|
|
35
|
+
To run the test suite:
|
|
36
|
+
|
|
37
|
+
``` shell
|
|
38
|
+
bundle exec sus
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
### Making Releases
|
|
42
|
+
|
|
43
|
+
To make a new release:
|
|
44
|
+
|
|
45
|
+
``` shell
|
|
46
|
+
bundle exec bake gem:release:patch # or minor or major
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Developer Certificate of Origin
|
|
50
|
+
|
|
51
|
+
In order to protect users of this project, we require all contributors to comply with the [Developer Certificate of Origin](https://developercertificate.org/). This ensures that all contributions are properly licensed and attributed.
|
|
52
|
+
|
|
53
|
+
### Community Guidelines
|
|
54
|
+
|
|
55
|
+
This project is best served by a collaborative and respectful environment. Treat each other professionally, respect differing viewpoints, and engage constructively. Harassment, discrimination, or harmful behavior is not tolerated. Communicate clearly, listen actively, and support one another. If any issues arise, please inform the project maintainers.
|
data/releases.md
ADDED
data.tar.gz.sig
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
@���Wo����t�b���g�;S�W����e�'K�Ĕ�b������|] -?�I��)Ӿ�5��fT����U����\�H�ސG5��eR��!��(���Jyk��!]��6�&@���L�ӹ���e��l^�{�����tRיS?ZZ�Y���< nN���Y$��(�&�7/��(ǗY�������Ţ�n��p=#�i���X����������h�� �@��
|
|
2
|
+
����%�j����C��碃
|
|
3
|
+
:�]��T�c*������`^�gї����f^�n)����H�%�?d7�V�d�� lN_��F�U��[��B�0��^wR�I��Y�>������k��=��%ݰJW�~���(/y�C6b��X�{��
|