Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some missing RFCs and remove problematic leading 0 in xep versions | Badlop | 2022-11-04 | 1 | -0/+1 |
| | |||||
* | Update copyright year to 2022 | Badlop | 2022-02-11 | 1 | -1/+1 |
| | |||||
* | ref: fix WS typos | Pouriya Jahanbakhsh | 2021-06-12 | 1 | -32/+32 |
| | |||||
* | Fix PONG responses (#3515) | Frank | 2021-02-04 | 1 | -1/+1 |
| | | | Co-authored-by: Frank Diebolt <frank.diebolt@al-enterprise.com> | ||||
* | Update newest copyright year to 2021 (#3464) | Badlop | 2021-01-27 | 1 | -1/+1 |
| | |||||
* | Make websocket send put back pressure on c2s process | Paweł Chmielowski | 2020-10-13 | 1 | -0/+10 |
| | | | | | | | | | | | Previously c2s was free to generate data to send in unlimited manner, and just generate queue of messages that are waiting to be send. This could lead to hitting timouts in stream management ack handling (if c2s generate lot of packages, after which <r> request was sent, client could even not receive it before timeout was triggered on server waiting for corresponding <a>). This changes makes c2s process wait for data being sent to tcp socket associated with websocket connection, which should help with this problem. | ||||
* | Use include_lib() to include headers from dependencies (#3369) | Stu Tomlinson | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | Update copyright to 2020 (#3149) | Badlop | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Correctly handle unicode in log messages | Evgeny Khramtsov | 2019-09-23 | 1 | -2/+2 |
| | |||||
* | Apply shaping to websocket connections | Frank Diebolt | 2019-07-29 | 1 | -15/+47 |
| | |||||
* | Make logging messages more consistent | Evgeny Khramtsov | 2019-06-24 | 1 | -6/+6 |
| | |||||
* | Use new configuration validator | Evgeny Khramtsov | 2019-06-14 | 1 | -26/+2 |
| | |||||
* | Handle TCP errors in websockets | Evgeny Khramtsov | 2019-05-09 | 1 | -0/+3 |
| | |||||
* | Return "Bad request" error when origin in websocket connection doesn't match | Paweł Chmielowski | 2019-04-26 | 1 | -37/+55 |
| | | | | | This also allow websocket_origin option to accept multiple values instead of just single one. | ||||
* | Use binary framing in MQTT WebSockets | Evgeny Khramtsov | 2019-04-25 | 1 | -1/+5 |
| | |||||
* | Fix RFC6454 violation on websocket connection when validating Origin header | Paweł Dorofiejczyk | 2019-04-24 | 1 | -9/+9 |
| | |||||
* | Move websocket options | Evgeny Khramtsov | 2019-04-23 | 1 | -3/+21 |
| | |||||
* | Origin header validation on websocket connection (#2821) | Paweł Dorofiejczyk | 2019-03-15 | 1 | -1/+5 |
| | |||||
* | Update copyright to 2019 (#2756) | Badlop | 2019-01-08 | 1 | -1/+1 |
| | |||||
* | Get rid of ejabberd.hrl header | Evgeniy Khramtsov | 2018-06-14 | 1 | -1/+0 |
| | | | | | | | | | The header consisted of too many unrelated stuff and macros misuse. Some stuff is moved into scram.hrl and type_compat.hrl. All macros have been replaced with the corresponding function calls. TODO: probably type_compat.hrl is not even needed anymore since we support only Erlang >= OTP 17.5 | ||||
* | Optimize HTTP requests memory usage | Evgeniy Khramtsov | 2018-05-14 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | Due to historical reasons, ejabberd loads the whole file/data into the memory when serving an HTTP request. This is now improved: 1) For GET requests ejabberd uses sendfile(2) if the underlying connection is HTTP and falls back to read/write loop with 64kb buffer for HTTPS connections. This type of requests are handled by mod_http_fileserver, mod_http_upload, ejabberd_captcha, etc 2) POST requests are now limited to 20Mb and are fully downloaded into the memory for further processing (by ejabberd_web_admin, mod_bosh, etc) 3) PUT requests (e.g. for mod_http_upload) are handled by read/write loop with 64kb buffer | ||||
* | Update copyright dates | Evgeniy Khramtsov | 2018-01-05 | 1 | -1/+1 |
| | |||||
* | Deprecate misc:encode_base64/1 and misc:decode_base64/1 | Evgeniy Khramtsov | 2017-05-23 | 1 | -1/+1 |
| | |||||
* | Rename aux.erl as misc.erl17.04 | Christophe Romain | 2017-04-11 | 1 | -1/+1 |
| | | | | Thanks Microsoft Windows to not support some filenames | ||||
* | Deprecate jlib.erl in favor of aux.erl | Evgeniy Khramtsov | 2017-03-30 | 1 | -1/+1 |
| | | | | | Since the main goal of jlib.erl is lost, all auxiliary functions are now moved to aux.erl, and the whole jlib.erl is now deprecated. | ||||
* | Use crypto:hash/2 function | Peter Lemenkov | 2017-02-13 | 1 | -1/+1 |
| | | | | | | | | | | Use crypto:hash/2 function instead of ones from p1_sha. This function exists since commit erlang/otp@208f9ad3828313f6c659a501d53f5534ec1bdf2e and also implemented as NIF, so I believe it's safe to use it. Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> | ||||
* | Update copyright date automatically (#1442) | Badlop | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Get rid of "jlib.hrl" dependency in some modules | Evgeniy Khramtsov | 2016-07-30 | 1 | -1/+1 |
| | |||||
* | Switch to fast_tls and update app names | Mickael Remond | 2016-02-03 | 1 | -3/+3 |
| | |||||
* | Update copyright to 2016 (#901) | Badlop | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Pass stream management options defined in http listener to http-bind and ↵ | Paweł Chmielowski | 2015-09-04 | 1 | -2/+4 |
| | | | | websocket | ||||
* | Document protocol support (EJABS-1620) | Badlop | 2015-05-21 | 1 | -0/+2 |
| | |||||
* | ejabberd_websocket: Ignore case of header values | Holger Weiss | 2015-04-05 | 1 | -2/+3 |
| | | | | | | | | RFC 6455 says that the client's opening handshake includes an Upgrade header field "containing the value 'websocket', treated as an ASCII case-insensitive value." Closes #510. | ||||
* | Add support for websocket connections | Paweł Chmielowski | 2015-02-25 | 1 | -0/+403 |