summaryrefslogtreecommitdiffstats
path: root/doc/designs
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2023-01-05 10:59:43 +0000
committerPauli <pauli@openssl.org>2023-06-28 08:05:06 +1000
commitaef249612759a12683c472a1032629ad90f8fd4a (patch)
treeea6295dd12ba812d5b9f80e599c813c835ac2ccc /doc/designs
parent0a3fb1fb05ee55c2bb477071b376c3a180eb474b (diff)
QUIC API: More minor tweaks
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19769)
Diffstat (limited to 'doc/designs')
-rw-r--r--doc/designs/quic-design/quic-api-ssl-funcs.md1
-rw-r--r--doc/designs/quic-design/quic-api.md15
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/designs/quic-design/quic-api-ssl-funcs.md b/doc/designs/quic-design/quic-api-ssl-funcs.md
index 1a912dc35b..d43e58684a 100644
--- a/doc/designs/quic-design/quic-api-ssl-funcs.md
+++ b/doc/designs/quic-design/quic-api-ssl-funcs.md
@@ -622,7 +622,6 @@ Notes:
| `SSL_tick` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
| `SSL_get_tick_timeout` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
| `SSL_get_blocking_mode` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
-| `SSL_get_blocking_mode` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
| `SSL_set_blocking_mode` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
| `SSL_get_rpoll_descriptor` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
| `SSL_get_wpoll_descriptor` | CSSM | 🟦N | 🟩A | 🟥QSA | 🟢Done |
diff --git a/doc/designs/quic-design/quic-api.md b/doc/designs/quic-design/quic-api.md
index 2f3f151f93..bb7bc28154 100644
--- a/doc/designs/quic-design/quic-api.md
+++ b/doc/designs/quic-design/quic-api.md
@@ -394,7 +394,8 @@ Should not require any changes.
- `SSL_MODE_ENABLE_PARTIAL_WRITE`: Implemented. If this mode is set during a
non-partial-write `SSL_write` operation spanning multiple `SSL_write` calls,
- this operation is aborted and partial write mode begins immediately.
+ this mode does not take effect until the non-partial write operation is
+ completed.
- `SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER`: Implemented.
@@ -424,9 +425,6 @@ Advances the QUIC state machine to the extent feasible, potentially performing
network I/O. Also compatible with DTLSv1 and supercedes `DTLSv1_handle_timeout`
for all use cases.
-TBD: Should we just map this to DTLS_CTRL_HANDLE_TIMEOUT internally (and maybe
-alias the CTRL #define)?
-
TBD: Deprecate `DTLSv1_get_timeout`?
TBD: Deprecate `DTLSv1_handle_timeout`?
@@ -1185,3 +1183,12 @@ Where connection closure is initiated remotely rather than locally, only the
draining state is relevant. Since we conclude above that we do not need to
implement the draining state on the client side, this means that connection
closure can be completed immediately in the case of a remote closure.
+
+**Q. Should we just map `SSL_tick` to `DTLS_CTRL_HANDLE_TIMEOUT` internally?**
+
+A. No, since the infinite time representation is different between the two
+calls.
+
+**Q. How should `STOP_SENDING` be supported?**
+
+TODO: Determine how `STOP_SENDING` should be supported.