Software /
code /
prosody
Annotate
CONTRIBUTING @ 10851:6cf16abd0976
net.server_select: Ensure onconnect is always called before onincoming
This changes the code to call onconnect when the first data is sucessfully
read or written, instead of simply when the socket first becomes writable.
A writable socket can mean a connection error, and if the client already
sent some data it may get passed to onincoming before processing writable
sockets. This fixes the issue.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 01 Jun 2020 13:38:47 +0100 |
parent | 9946:ceaca48a7e6d |
rev | line source |
---|---|
9946
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
1 Thanks for your interest in contributing to the project! |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
2 |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
3 There are many ways to contribute, such as helping improve the |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
4 documentation, reporting bugs, spreading the word or testing the latest |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
5 development version. |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
6 |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
7 You can find more information on how to contribute at <https://prosody.im/doc/contributing> |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
8 |
ceaca48a7e6d
CONTRIBUTING: Add a short file referencing the online doc/contributing page
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
9 See also the HACKERS and README files. |