Changeset 455 in code for trunk/upstream.go


Ignore:
Timestamp:
Feb 24, 2021, 6:41:12 PM (4 years ago)
Author:
contact
Message:

Add irc to ALPN protocols

The new ALPN token has been approved [1]. We can start using it now.

[1]: https://mailarchive.ietf.org/arch/msg/tls-reg-review/i8YyT82XUtEgR-oXMG3sbyWYT8E/

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/upstream.go

    r454 r455  
    133133                logger.Printf("connecting to TLS server at address %q", addr)
    134134
    135                 tlsConfig := &tls.Config{ServerName: host}
     135                tlsConfig := &tls.Config{ServerName: host, NextProtos: []string{"irc"}}
    136136                if network.SASL.Mechanism == "EXTERNAL" {
    137137                        if network.SASL.External.CertBlob == nil {
Note: See TracChangeset for help on using the changeset viewer.