MatrixSynapse/synapse
Erik Johnston 334e075dd8 Fix error when logging incomplete requests
If a connection is lost before a request is read from Request, Twisted
sets `method` (and `uri`) attributes to dummy values. These dummy values
have incorrect types (i.e. they're not bytes), and so things like
`__repr__` would raise an exception.

To fix this we had a helper method to return the method with a
consistent type.
2018-10-02 12:06:22 +01:00
..
api Fix userconsent on Python 3 (#3938) 2018-10-02 00:11:58 +10:00
app Remove redundant call to start_get_pdu_cache 2018-09-28 12:01:23 +01:00
appservice Port http/ to Python 3 (#3771) 2018-09-06 00:10:47 +10:00
config Replaced all occurences of e.message with str(e) 2018-09-27 13:38:50 +02:00
crypto Merge pull request #3826 from matrix-org/rav/logging_for_keyring 2018-09-12 20:43:47 +10:00
events Fix handling of redacted events from federation 2018-09-13 15:44:12 +01:00
federation Merge pull request #3964 from matrix-org/rav/remove_localhost_checks 2018-09-28 13:35:47 +01:00
groups Fix some looping_call calls which were broken in #3604 2018-07-26 11:48:08 +01:00
handlers Merge pull request #3989 from matrix-org/rav/better_stacktraces 2018-10-02 10:47:38 +01:00
http Fix error when logging incomplete requests 2018-10-02 12:06:22 +01:00
metrics Add missing logger 2018-09-20 17:05:34 +01:00
module_api
push fix link for case that config.email_riot_base_url is set 2018-09-13 22:43:50 +01:00
replication Fix minor typo in exception 2018-09-13 11:51:12 -06:00
rest Merge pull request #3932 from matrix-org/erikj/auto_start_expiring_caches 2018-09-25 12:02:57 +01:00
server_notices Merge branch 'develop' of github.com:matrix-org/synapse into erikj/admin_contact 2018-08-24 17:00:37 +01:00
state Logging improvements 2018-09-26 17:36:14 +01:00
static/client Use recaptcha_ajax.js directly from Google 2018-08-22 14:30:49 +01:00
storage Merge remote-tracking branch 'origin/develop' into erikj/destination_retry_cache 2018-09-28 10:51:09 +01:00
streams Fix develop because I broke it :( (#3535) 2018-07-14 09:51:00 +10:00
util Correctly match 'dict.pop' api 2018-10-01 12:25:27 +01:00
__init__.py bump version 2018-09-25 02:54:34 +10:00
event_auth.py Check m.room.create for sane room_versions 2018-08-06 16:11:24 +01:00
notifier.py Run notify_app_services as a bg process 2018-09-26 17:00:40 +01:00
python_dependencies.py Run our oldest supported configuration in CI (#3952) 2018-09-27 23:21:54 +10:00
secrets.py Port over enough to get some sytests running on Python 3 (#3668) 2018-08-20 23:54:49 +10:00
server.py use abc.abstractproperty 2018-08-28 17:10:43 +01:00
server.pyi Send users a server notice about consent 2018-05-22 11:54:51 +01:00
types.py Python 3: Convert some unicode/bytes uses (#3569) 2018-08-02 00:54:06 +10:00
visibility.py Merge remote-tracking branch 'origin/develop' into rav/remove_who_forgot_in_room 2018-07-23 17:15:12 +01:00