HttpArena

genhttp

Emerging · C# · standard configuration · completeness 4/4

Lightweight, embeddable and modular C# web server.

Achievements

🥈 2 Silver. Top three of a field, taken in this entry's own league: the family composite, the same composite among entries written in the same language, and each test profile it is scored on. Every field is the one the badges publish, so a medal and a badge always say the same thing. How medals are awarded.

MedalAwardFieldRank
🥈 SilverWithin its languageC# · HTTP/1.12 of 11
🥈 SilverWithin its languageC# · WebSocket2 of 6

Composite rank

Each profile of a family is worth its weight × 1,000 to the entry that leads it - 1, or 0.5 apiece for two profiles that measure one thing - and the composite is the sum over the family, less 2.5% for each of routing, middleware, request and response the entry does not do for you - its completeness factor, which the WebSocket and gRPC families do not carry. The field is this entry's own league: engines and reverse proxies are scored apart from frameworks. How it works.

FamilyRankComposite
HTTP/1.119 of 883199
WebSocket14 of 311473

Protocol compliance

The conformance suites this entry subscribes to, run against it on the benchmark machine: Http11Probe on HTTP/1.1, h2spec on HTTP/2, h3spec on HTTP/3 and Autobahn on WebSocket. A score, not part of the composite. How it works.

SuiteToolPassedFailed
HTTP/1.1http11probe d50d818143 of 159 (89.9%)16
WebSocketautobahn-testsuite 25.10.1133 of 244 (54.5%)111

HTTP/1.1: what failed

TestExpectedGot
COMP-OPTIONS-STAR OPTIONS * is the only valid asterisk-form request (RFC 9112 §3.2.4, MUST)2xx or 405; close/timeout = warn308, connection left open
COMP-POST-NO-CL-NO-TE POST with neither Content-Length nor Transfer-Encoding — implicit zero-length body (RFC 9112 §6.3, MUST)2xx or close500, connection closed
SMUG-CHUNK-BARE-SEMICOLON Chunk size with bare semicolon and no extension name must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection closed
SMUG-CHUNK-EXT-INVALID-TOKEN Chunk extension with invalid token character must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection left open
SMUG-CHUNK-UNDERSCORE Chunk size with underscores (1_0) must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-HEX-PREFIX Chunk size with 0x prefix must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-SIZE-PLUS Chunk size with leading plus sign must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-SIZE-TRAILING-OWS Chunk size with trailing whitespace before CRLF must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-LEADING-SP Chunk size with leading space must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-MISSING-TRAILING-CRLF Chunk data without trailing CRLF must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-SPILL Chunk declares size 5 but sends 7 bytes — oversized chunk data must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-EXT-CTRL NUL byte in chunk extension must be rejected (RFC 9112 §7.1.1, MUST)400 or close200, connection closed
SMUG-CHUNK-EXT-CR Bare CR (not CRLF) in chunk extension — some parsers treat CR alone as line ending (RFC 9112 §7.1.1, MUST)400 or close200, connection closed
SMUG-CHUNK-NEGATIVE Negative chunk size must be rejected (RFC 9112 §7.1, MUST)400 or close200, connection closed
SMUG-CHUNK-BARE-CR-TERM Chunk size line terminated by bare CR — not a valid line terminator (RFC 9112 §2.2, MUST)400 or close200, connection closed
MAL-CHUNK-SIZE-OVERFLOW Chunk size with integer overflow must be rejected (MUST)400 or close200, connection closed

WebSocket: what failed

TestExpectedGot
1.1.6 Send text message message with payload of length 65535.Receive echo'ed text message (with payload as sent). Clean close with normal code.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
1.1.7 Send text message message with payload of length 65536.Receive echo'ed text message (with payload as sent). Clean close with normal code.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
1.1.8 Send text message message with payload of length 65536. Sent out data in chops of 997 octets.Receive echo'ed text message (with payload as sent). Clean close with normal code.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
1.2.6 Send binary message message with payload of length 65535.Receive echo'ed binary message (with payload as sent). Clean close with normal code.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
1.2.7 Send binary message message with payload of length 65536.Receive echo'ed binary message (with payload as sent). Clean close with normal code.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
1.2.8 Send binary message message with payload of length 65536. Sent out data in chops of 997 octets.Receive echo'ed binary message (with payload as sent). Clean close with normal code.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.1 Send small text message with <b>RSV = 1</b>.The connection is failed immediately (1002/protocol error), since RSV must be 0, when no extension defining RSV meaning has been negotiated.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.2 Send small text message, then send again with <b>RSV = 2</b>, then send Ping.Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.3 Send small text message, then send again with <b>RSV = 3</b>, then send Ping. Octets are sent in frame-wise chops. Octets are sent in octet-wise chops.Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.4 Send small text message, then send again with <b>RSV = 4</b>, then send Ping. Octets are sent in octet-wise chops.Echo for first message is received, but then connection is failed immediately, since RSV must be 0, when no extension defining RSV meaning has been negotiated. The Pong is not received.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.5 Send small binary message with <b>RSV = 5</b>.The connection is failed immediately, since RSV must be 0.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.6 Send Ping with <b>RSV = 6</b>.The connection is failed immediately, since RSV must be 0.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
3.7 Send Close with <b>RSV = 7</b>.The connection is failed immediately, since RSV must be 0.Actual events match at least one expected. / close: The close code should have been 1002 or empty
5.6 Send text Message fragmented into 2 fragments, one ping with payload in-between.A pong is received, then the message is echo'ed back to us.Actual events differ from any expected. / close: The spec requires the connection to be failed cleanly here
5.9 Send unfragmented Text Message after Continuation Frame with FIN = true, where there is nothing to continue, sent in one chop.The connection is failed immediately, since there is no message to continue.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.10 Send unfragmented Text Message after Continuation Frame with FIN = true, where there is nothing to continue, sent in per-frame chops.The connection is failed immediately, since there is no message to continue.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.11 Send unfragmented Text Message after Continuation Frame with FIN = true, where there is nothing to continue, sent in octet-wise chops.The connection is failed immediately, since there is no message to continue.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.12 Send unfragmented Text Message after Continuation Frame with FIN = false, where there is nothing to continue, sent in one chop.The connection is failed immediately, since there is no message to continue.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
5.13 Send unfragmented Text Message after Continuation Frame with FIN = false, where there is nothing to continue, sent in per-frame chops.The connection is failed immediately, since there is no message to continue.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
5.14 Send unfragmented Text Message after Continuation Frame with FIN = false, where there is nothing to continue, sent in octet-wise chops.The connection is failed immediately, since there is no message to continue.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
5.15 Send text Message fragmented into 2 fragments, then Continuation Frame with FIN = false where there is nothing to continue, then unfragmented Text Message, a...The connection is failed immediately, since there is no message to continue.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.16 Repeated 2x: Continuation Frame with FIN = false (where there is nothing to continue), then text Message fragmented into 2 fragments.The connection is failed immediately, since there is no message to continue.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.17 Repeated 2x: Continuation Frame with FIN = true (where there is nothing to continue), then text Message fragmented into 2 fragments.The connection is failed immediately, since there is no message to continue.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.18 Send text Message fragmented into 2 fragments, with both frame opcodes set to text, sent in one chop.The connection is failed immediately, since all data frames after the initial data frame must have opcode 0.Actual events differ from any expected. / close: The connection was failed by the wrong endpoint
5.19 A fragmented text message is sent in multiple frames. After sending the first 2 frames of the text message, a Ping is sent. Then we wait 1s, then we send 2 m...The peer immediately answers the first Ping before it has received the last text message fragment. The peer pong's back the Ping's payload exactly, and echo's the payload of the fragmented message ...Actual events differ from any expected. / close: The spec requires the connection to be failed cleanly here
6.3.1 Send invalid UTF-8 text message unfragmented.<br><br>MESSAGE:<br>cebae1bdb9cf83cebcceb5eda080656469746564The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.3.2 Send invalid UTF-8 text message in fragments of 1 octet, resulting in frames ending on positions which are not code point ends.<br><br>MESSAGE:<br>cebae1bdb9...The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.4.1 Send invalid UTF-8 text message in 3 fragments (frames). First frame payload is valid, then wait, then 2nd frame which contains the payload making the sequen...The first frame is accepted, we expect to timeout on the first wait. The 2nd frame should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least th...Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.4.2 Same as Case 6.4.1, but in 2nd frame, we send only up to and including the octet making the complete payload invalid. <br><br>MESSAGE PARTS:<br> PART1 = ceba...The first frame is accepted, we expect to timeout on the first wait. The 2nd frame should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least th...Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.4.3 Same as Case 6.4.1, but we send message not in 3 frames, but in 3 chops of the same message frame. <br><br>MESSAGE PARTS:<br> PART1 = cebae1bdb9cf83cebcceb5<...The first chop is accepted, we expect to timeout on the first wait. The 2nd chop should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least then...Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.4.4 Same as Case 6.4.2, but we send message not in 3 frames, but in 3 chops of the same message frame. <br><br>MESSAGE PARTS:<br> PART1 = cebae1bdb9cf83cebcceb5f...The first chop is accepted, we expect to timeout on the first wait. The 2nd chop should be rejected immediately (fail fast on UTF-8). If we timeout, we expect the connection is failed at least then...Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.6.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xceThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.6.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.6.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.6.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.6.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83ceThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.6.10 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xcebae1bdb9cf83cebcceThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.8.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf888808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.8.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc8480808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.10.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf7bfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.10.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfbbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.10.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfdbfbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.11.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf4908080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80bf80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x80bf80bf80bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.12.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0x808182838485868788898a8b8c8d8e8f909192939495969798999a9b9c9d9e9f...The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.13.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc020c120c220c320c420c520c620c720c820c920ca20cb20cc20cd20ce20cf20...The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.13.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe020e120e220e320e420e520e620e720e820e920ea20eb20ec20ed20ee20The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.13.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf020f120f220f320f420f520f620The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.13.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf820f920fa20The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.13.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc20The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc0The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf08080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf8808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc80808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xdfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xefbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf7bfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.9 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfbbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.14.10 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfdbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.15.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc0e080f08080f8808080fc80808080dfefbff7bfbffbbfbfbffdbfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.16.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfeThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.16.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xffThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.16.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfefeffffThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.17.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc0afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.17.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.17.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf08080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.17.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf8808080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.17.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc80808080afThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.18.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc1bfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.18.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe09fbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.18.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf08fbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.18.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf887bfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.18.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc83bfbfbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.19.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xc080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.19.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xe08080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.19.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf0808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.19.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xf880808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.19.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xfc8080808080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xeda080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedadbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedae80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedafbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedbe80The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.20.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.1 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xeda080edb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.2 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xeda080edbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.3 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedadbfedb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.4 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedadbfedbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.5 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedae80edb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.6 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedae80edbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.7 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedafbfedb080The connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
6.21.8 Send a text message with payload which is not valid UTF-8 in one fragment.<br><br>Payload: 0xedafbfedbfbfThe connection is failed immediately, since the payload is not valid UTF-8.Actual events match at least one expected. / close: The connection was failed by the wrong endpoint
7.3.2 Send a close frame with payload length 1Clean close with protocol error or drop TCP.The close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.5.1 Send a close frame with invalid UTF8 payloadClean close with protocol error or invalid utf8 code or dropped TCP.The close code should have been 1002,1007 or empty / close: The close code should have been 1002,1007 or empty
7.9.1 Send close with invalid close code 0Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.2 Send close with invalid close code 999Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.3 Send close with invalid close code 1004Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.4 Send close with invalid close code 1005Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.5 Send close with invalid close code 1006Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.6 Send close with invalid close code 1016Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.7 Send close with invalid close code 1100Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.8 Send close with invalid close code 2000Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty
7.9.9 Send close with invalid close code 2999Clean close with protocol error code or drop TCPThe close code should have been 1002 or empty / close: The close code should have been 1002 or empty

Every result

Alpha Round, 19 runs. Requests per second is the best of three; latency, CPU and memory come from that run.

CategoryProfileConnsReq/secAvgp99CPUMemory
ConnectionBaseline4,0961,967,0521.93ms5.88ms5554.4%495MiB
ConnectionPipelined4,09618,341,6513.58ms6.79ms6433.6%269MiB
ConnectionShort-lived4,0961,250,4771.80ms17.70ms5317.6%391MiB
ConcurrencyAsync Delay32,000942,19529.42ms51.10ms3959.3%2.6GiB
EfficiencyLatency-10K1,0249,98272.7us102.0us87.0%156MiB
EfficiencyLatency-1M1,024997,830296.6us2325.0us2613.8%172MiB
WorkloadJSON Comp4,096471,0258.01ms19.40ms6172.1%727MiB
WorkloadJSON Comp16,384452,18230.65ms77.60ms5939.4%1.5GiB
WorkloadJSON TLS4,096713,9745.79ms80.64ms5979.7%989MiB
Workload8Gbit51249,40295.5us125.0us401.6%271MiB
WorkloadStatic TLS1,024390,7242.74ms39.11ms5631.8%391MiB
WebSocketEcho5122,483,481205us1.12ms5542.5%224MiB
WebSocketEcho4,0962,363,0341.71ms4.75ms5496.0%618MiB
WebSocketEcho16,3842,245,3764.32ms10.70ms5804.7%1.4GiB
WebSocketEcho Pipelined51230,309,814269us1.75ms5584.5%266MiB
WebSocketEcho Pipelined4,09628,221,9932.16ms6.83ms5535.0%603MiB
WebSocketEcho Pipelined16,38428,006,7816.94ms16.50ms5740.9%1.6GiB
WebSocketEcho Short-lived5121,159,350151us987us4961.4%296MiB
WebSocketEcho Short-lived4,0961,187,020203us1.49ms5386.2%440MiB

Compared with

The C# web frameworks around genhttp on the HTTP/1.1 composite, and the one leading them. Entries of other leagues are left out: a composite does not carry from one league to another. The last column shows every profile side by side.

Compare genhttp with any C# entry · Compare genhttp with any entry, in any language · Every C# entry, ranked

Results updated · How the benchmark is run · The machine · Add or fix an entry