Language: C / C++. The pull request has one bug. You get three tries to find the line, then a short debrief.
Our TLS library gets the heartbeat extension: a peer sends a small message, and we echo its payload back to prove the connection is alive without a full handshake. The message format follows the RFC: a type byte, a two-byte payload length, the payload, then at least 16 bytes of padding.
Codetrap needs JavaScript: the code review happens in your browser.