This commit is contained in:
parent
83956b4d9f
commit
0d24e58c88
|
@ -123,6 +123,10 @@ func (h *microsubHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||||
w.Header().Set("Connection", "keep-alive")
|
w.Header().Set("Connection", "keep-alive")
|
||||||
w.Header().Set("Access-Control-Allow-Origin", "*")
|
w.Header().Set("Access-Control-Allow-Origin", "*")
|
||||||
|
|
||||||
|
w.WriteHeader(200)
|
||||||
|
|
||||||
|
flusher.Flush()
|
||||||
|
|
||||||
// Each connection registers its own message channel with the Broker's connections registry
|
// Each connection registers its own message channel with the Broker's connections registry
|
||||||
messageChan := make(MessageChan)
|
messageChan := make(MessageChan)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user