Annotate

AUTHORS @ 11590:5aafb832c91b

core.portmanager: Fix race condition in initialization of SNI cert map Under some circumstances when hosts and modules are loaded in some certain order, entries end up missing from the SNI map. This manifests in e.g. `curl https://localhost:5281/` giving an error about "unrecognized name". The `service` argument is `nil` when invoked from the "host-activated" event, leading it to iterating over every service. And then it would not be fetching e.g. `http_host` from the config, which explains why https would sometimes not work due to the missing name entry. Because when `service` is included, this limits the iteration to matching entries, while also returning the same value as the `name` loop variable. Because `name == service when service != nil` we can use name instead in the body of the loop.
author Kim Alvefur <zash@zash.se>
date Fri, 28 May 2021 17:09:22 +0200
parent 5403:d7ecf6cd584e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5403
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
1
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
2 The Prosody project is open to contributions (see HACKERS file), but is
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
3 maintained daily by:
94
57d2f1c98124 Add AUTHORS file
Matthew Wild <mwild1@gmail.com>
parents:
diff changeset
4
5403
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
5 - Matthew Wild (mail: matthew [at] prosody.im)
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
6 - Waqas Hussain (mail: waqas [at] prosody.im)
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
7 - Kim Alvefur (mail: zash [at] prosody.im)
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
8
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
9 You can reach us collectively by email: developers [at] prosody.im
d7ecf6cd584e AUTHORS: A small update...
Matthew Wild <mwild1@gmail.com>
parents: 792
diff changeset
10 or in realtime in the Prosody chatroom: prosody@conference.prosody.im