* represents a single QUIC connection. All QUIC_PORT instances must belong
* to a QUIC_ENGINE.
*
- * TODO(QUIC SERVER): Currently a QUIC_PORT belongs to a single QUIC_CHANNEL.
+ * TODO(QUIC FUTURE): Currently a QUIC_PORT belongs to a single QUIC_CHANNEL.
* This will cease to be the case once connection migration and/or multipath is
* implemented, so in future a channel might be associated with multiple ports.
*
/*
* Create an incoming channel using this port.
*
- * TODO(QUIC SERVER): temporary TSERVER use only - will be removed.
+ * TODO(QUIC FUTURE): temporary TSERVER use only - will be removed.
*/
QUIC_CHANNEL *ossl_quic_port_create_incoming(QUIC_PORT *port, SSL *tls);
#include "quic_port_local.h"
#include "quic_engine_local.h"
-/*
- * NOTE: While this channel implementation currently has basic server support,
- * this functionality has been implemented for internal testing purposes and is
- * not suitable for network use. In particular, it does not implement address
- * validation, anti-amplification or retry logic.
- *
- * TODO(QUIC SERVER): Implement address validation and anti-amplification
- * TODO(QUIC SERVER): Implement retry logic
- */
-
#define INIT_CRYPTO_RECV_BUF_LEN 16384
#define INIT_CRYPTO_SEND_BUF_LEN 16384
#define INIT_APP_BUF_LEN 8192
}
/*
- * We must ensure a client doesn't send them because we don't have
- * processing for them.
- *
- * TODO(QUIC SERVER): remove this restriction
+ * RFC 9000 s. 18.2: This transport parameter MUST NOT be sent
+ * by a client but MAY be sent by a server.
*/
if (ch->is_server) {
reason = TP_REASON_SERVER_ONLY("STATELESS_RESET_TOKEN");
= ((ctx->domain_flags & SSL_DOMAIN_FLAG_THREAD_ASSISTED) != 0);
#endif
- qc->as_server = 0; /* TODO(QUIC SERVER): add server support */
+ qc->as_server = 0;
qc->as_server_state = qc->as_server;
if (!create_channel(qc, ctx))