Changeset 471 in code for trunk/server.go


Ignore:
Timestamp:
Mar 18, 2021, 11:02:36 AM (4 years ago)
Author:
contact
Message:

Drop "irc" WebSocket subprotocol

The subprotocol hasn't been standardized yet. It looks like the standard
is moving in another direction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server.go

    r449 r471  
    199199        conn, err := websocket.Accept(w, req, &websocket.AcceptOptions{
    200200                OriginPatterns: s.HTTPOrigins,
    201                 Subprotocols:   []string{"irc"},
    202201        })
    203202        if err != nil {
Note: See TracChangeset for help on using the changeset viewer.