My server behaves well though I find the exception of "http: multiple response.WriteHeader calls". This exception doesn't cause my server panic or behaving weirdly.
I have searched a lot but only found how to solve this problem. There's no doc describing the bad effects of the exception. Could someone help me find why "http: multiple response.WriteHeader calls" is an exception and what the bad effects are that it causes? Thanks in advance.
UPDATE
I have read the source code here:
When calling WriteHeader
multitimes,it only prints a log and then does nothing. It seems that calling WriteHeader
multitimes doesn't cause the server behaves weiredly.