Oris
Today
Universe
Explore
Studio
Authors
Account
Lesson 1 of 8
How does http.Server.Shutdown differ from http.Server.Close?
Shutdown stops accepting new connections and waits for active ones to finish; Close terminates all connections immediately
Shutdown restarts the server; Close stops it
They are identical aliases
Close waits for active requests; Shutdown drops them
Check
Today
Universe
Explore
Profile