esl / MongooseIM

MongooseIM is Erlang Solutions' robust, scalable and efficient XMPP server, aimed at large installations. Specifically designed for enterprise purposes, it is fault-tolerant and can utilise the resources of multiple clustered machines.
Other
1.64k stars 422 forks source link

Introduce http2 #2716

Closed gustawlippa closed 3 years ago

gustawlippa commented 4 years ago

This PR introduces Gun to MIM, which is a client capable of establishing HTTP/2 connections. It was needed to communicate with MongoosePush through this newer standard.

mongoose-im commented 3 years ago

8416.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / f9d97b2e434fe45ef279bcf51ab61730716aa75f Reports root/ big OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0

mongoose-im commented 3 years ago

8416.9 / Erlang 21.3 / pgsql_mnesia / f9d97b2e434fe45ef279bcf51ab61730716aa75f Reports root/ big / small OK: 2752 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.1 / Erlang 22.0 / small_tests / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root / small

mongoose-im commented 3 years ago

8417.2 / Erlang 22.0 / internal_mnesia / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big OK: 1474 / Failed: 0 / User-skipped: 157 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.4 / Erlang 22.0 / mysql_redis / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big OK: 2734 / Failed: 0 / User-skipped: 233 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.3 / Erlang 22.0 / odbc_mssql_mnesia / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big OK: 2739 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.5 / Erlang 22.0 / riak_mnesia / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big OK: 1600 / Failed: 0 / User-skipped: 177 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.6 / Erlang 22.0 / ldap_mnesia / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big OK: 1382 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0

mongoose-im commented 3 years ago

8417.9 / Erlang 21.3 / pgsql_mnesia / cb98e2686cbae16006116d9a3654fec44bce9d5e Reports root/ big / small OK: 2752 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0

NelsonVides commented 3 years ago

PR is ready. There's only one problem, but it's out of the scope of this case. Our worker pools seem to be configured with shutdown => brutal_kill in the child specification, so the terminate function, though implemented, is never called. But then the gun process, which remains alive, is notified that its owner process was killed, and immolates itself, throwing the crash in the logs. Ideally, this should all be gracefully closed, without logging things that are not real errors, but the worker pool is a different topic I hope we'll be back to some day in the near future.

mongoose-im commented 3 years ago

8418.1 / Erlang 22.0 / small_tests / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root / small

mongoose-im commented 3 years ago

8418.2 / Erlang 22.0 / internal_mnesia / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big OK: 1474 / Failed: 0 / User-skipped: 157 / Auto-skipped: 0

mongoose-im commented 3 years ago

8418.3 / Erlang 22.0 / odbc_mssql_mnesia / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big OK: 2739 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0

mongoose-im commented 3 years ago

8418.4 / Erlang 22.0 / mysql_redis / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big OK: 2734 / Failed: 0 / User-skipped: 233 / Auto-skipped: 0

mongoose-im commented 3 years ago

8418.5 / Erlang 22.0 / riak_mnesia / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big OK: 1600 / Failed: 0 / User-skipped: 177 / Auto-skipped: 0

mongoose-im commented 3 years ago

8418.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0

mongoose-im commented 3 years ago

8418.6 / Erlang 22.0 / ldap_mnesia / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big OK: 1382 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0

mongoose-im commented 3 years ago

8418.9 / Erlang 21.3 / pgsql_mnesia / 96c6ccae35f53b35a4730fbae3df5320f984f894 Reports root/ big / small OK: 2752 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.1 / Erlang 22.0 / small_tests / d702501910a181baaa998bdb8c095b4315b1c164 Reports root / small

mongoose-im commented 3 years ago

8420.2 / Erlang 22.0 / internal_mnesia / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big OK: 1474 / Failed: 0 / User-skipped: 157 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.4 / Erlang 22.0 / mysql_redis / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big OK: 2734 / Failed: 0 / User-skipped: 233 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.3 / Erlang 22.0 / odbc_mssql_mnesia / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big OK: 2739 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.5 / Erlang 22.0 / riak_mnesia / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big OK: 1600 / Failed: 0 / User-skipped: 177 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.6 / Erlang 22.0 / ldap_mnesia / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big OK: 1382 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0

mongoose-im commented 3 years ago

8420.9 / Erlang 21.3 / pgsql_mnesia / d702501910a181baaa998bdb8c095b4315b1c164 Reports root/ big / small OK: 2752 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.1 / Erlang 22.0 / small_tests / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root / small

mongoose-im commented 3 years ago

8421.2 / Erlang 22.0 / internal_mnesia / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big OK: 1474 / Failed: 0 / User-skipped: 157 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.3 / Erlang 22.0 / odbc_mssql_mnesia / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big OK: 2739 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.4 / Erlang 22.0 / mysql_redis / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big OK: 2734 / Failed: 0 / User-skipped: 233 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.5 / Erlang 22.0 / riak_mnesia / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big OK: 1600 / Failed: 0 / User-skipped: 177 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.6 / Erlang 22.0 / ldap_mnesia / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big OK: 1382 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0

mongoose-im commented 3 years ago

8421.9 / Erlang 21.3 / pgsql_mnesia / 7f6cb44c5e230dbc1e93a53ef8518b1645910fbd Reports root/ big / small OK: 2752 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.1 / Erlang 22.0 / small_tests / a930744e3986a7987bb1d6a69e51248558ee530b Reports root / small

mongoose-im commented 3 years ago

8423.2 / Erlang 22.0 / internal_mnesia / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big OK: 1474 / Failed: 0 / User-skipped: 157 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.4 / Erlang 22.0 / mysql_redis / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big OK: 2734 / Failed: 0 / User-skipped: 233 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.3 / Erlang 22.0 / odbc_mssql_mnesia / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big OK: 2739 / Failed: 0 / User-skipped: 228 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.5 / Erlang 22.0 / riak_mnesia / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big OK: 1600 / Failed: 0 / User-skipped: 177 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.6 / Erlang 22.0 / ldap_mnesia / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big OK: 1382 / Failed: 0 / User-skipped: 249 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.7 / Erlang 22.0 / elasticsearch_and_cassandra_mnesia / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big OK: 330 / Failed: 0 / User-skipped: 38 / Auto-skipped: 0

mongoose-im commented 3 years ago

8423.9 / Erlang 21.3 / pgsql_mnesia / a930744e3986a7987bb1d6a69e51248558ee530b Reports root/ big / small OK: 2752 / Failed: 0 / User-skipped: 215 / Auto-skipped: 0