Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "After receiving GOAWAY, what is the safest general retry rule?" on CodeWiki (https://codewiki.com/practice/mcq/foundations/http2/goaway-retry-boundary/).
Context (verbatim from the page):
"""
After receiving GOAWAY, what is the safest general retry rule?
Replay every active request on a new session.
Never retry any request from that connection.
Use the last-stream-id to find unprocessed streams, then retry only when policy and body replayability allow it.
Retry only streams with even identifiers.
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in CS foundations. Where you are unsure, say so.