Created
January 29, 2021 12:51
-
-
Save cardil/c7c2e0dc7da9b925bbe96a0f3c023731 to your computer and use it in GitHub Desktop.
Reporduction for Wathola sender is affected by Coordinated Omission Problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"html" | |
"log" | |
"net/http" | |
"time" | |
) | |
func main() { | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { | |
time.Sleep(2 * time.Second) | |
fmt.Fprintf(w, "Hello, %q", html.EscapeString(r.URL.Path)) | |
}) | |
log.Fatal(http.ListenAndServe(":22110", nil)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment