3021 Commits

Author SHA1 Message Date
Benoit Chesneau
378f0d04ec bump to 21.0.0 2023-07-10 22:09:23 +00:00
Benoit Chesneau
add8a4c951
Merge pull request #2996 from Excalartur/pylint-pass2
update pylint version, and fix linter issues
2023-05-25 10:42:38 +02:00
unknown
dd0aebfc87 add to THANKS :) 2023-05-17 18:55:15 +03:00
unknown
cc15967cff tox.ini deps 2023-05-17 18:48:55 +03:00
unknown
48d670f087 update pylint version, and fix linter issues 2023-05-17 18:45:59 +03:00
Benoit Chesneau
6998d1247c
Merge pull request #2993 from ikonst/fix-access-log
Log access even when connection is closed
2023-05-13 21:10:20 +02:00
Benoit Chesneau
59bbcdc2d5
Merge pull request #2963 from gotmax23/load_entry
replace pkg_resources.load_entry_point
2023-05-13 20:59:25 +02:00
Maxwell G
7f480daf07
replace pkg_resources.load_entry_point
pkg_resources is deprecated. Use the corresponding importlib.metadata
interface instead. Use the stdlib version on python >= 3.8 and use the
importlib_metadata backport on older versions.
2023-05-12 21:29:54 +00:00
Ilya Priven
858b743d07 remove double finally 2023-05-11 15:04:45 -04:00
Ilya Konstantinov
6d4faab6d6 Log access even when connection is closed 2023-05-11 14:53:32 -04:00
Benoit Chesneau
b7242beacd
Merge pull request #2992 from Nordix/deprecate-ssl-version
Deprecate ssl_version option
2023-05-11 18:40:54 +02:00
Benoit Chesneau
4aca2e46e9
Merge pull request #2991 from Nordix/username-fix
Fix username parsing for basic auth
2023-05-11 18:36:55 +02:00
Tero Saarni
d8c3b1490e Deprecate ssl_version option
This change defaults SSLContext to Python's ssl.create_default_context() and
marks ssl_version option as deprecated. The option value will be ignored and
warnign will be printed in stderr.

The ssl_version option was depending on old method of setting TLS min/max
version, which has not worked well anymore with modern Python versions.
2023-05-11 17:45:57 +03:00
Tero Saarni
2b98f5e7b7 Fix username parsing for basic auth 2023-05-11 16:32:14 +03:00
Benoit Chesneau
f859de498a
Merge pull request #2634 from YingjieQiao/docs/cert_reqs
docs: add examples for cert-reqs
2023-05-11 10:09:44 +02:00
Benoit Chesneau
f955a0c18c
Merge pull request #2649 from Nordix/sslcontext
Update SSLContext handling
2023-05-11 09:51:37 +02:00
Benoit Chesneau
c829cc8a77
Merge pull request #2548 from zhan9san/1695-ignore-aborted-requests
Fixes #1695
2023-05-10 15:43:27 +02:00
Benoit Chesneau
efa9bf69ef
Merge pull request #2986 from chandanch/master 2023-05-08 08:01:25 +02:00
Chandan CH
ed9729a826
add missing double quote
Opening double quote was missed during the recent hence, showing the below error:

auth.split(b":", 1)[0].decode(UTF-8", "replace")
SyntaxError: unterminated string literal (detected at line 472)
2023-05-08 11:28:30 +05:30
Benoit Chesneau
506d014dd4
Merge pull request #2802 from fdemmer/2801-fix-logrecords
Fix LogRecord pre-formatting, closes #2801
2023-05-08 00:24:18 +02:00
Benoit Chesneau
bc39261621
Merge pull request #2446 from jkugler/fix_signature_on_inotify_fail 2023-05-07 23:08:42 +02:00
Benoit Chesneau
e6647cf229
Merge pull request #2473 from AlexHill/patch-1 2023-05-07 23:07:53 +02:00
Florian Demmer
0b5c4aea99
Fix LogRecord pre-formatting, closes #2801 2023-05-07 22:46:10 +02:00
Benoit Chesneau
a7ead9831e
fix basic auth logging
decoding of basic auth header. fix #2625
2023-05-07 21:05:41 +02:00
Benoit Chesneau
4a1c402e2c
Merge pull request #2384 from larribas/2066-statsd-socket
Allow reporting StatsD metrics over UDS sockets
2023-05-07 20:39:11 +02:00
Benoit Chesneau
8c1747b224
Merge pull request #2633 from duanhongyi/patch-1
fix:  gunicorn run tornado app failed
2023-05-07 19:47:32 +02:00
Benoit Chesneau
f19e31fec5
utils.py: fix code reference
fix #2632
2023-05-07 19:46:02 +02:00
Benoit Chesneau
e7781d2c2c
gthread: consider intial connectino as idle
this change consider the connection is iddle when started and remove it from the eventloop if no change appears in the interval. 

This prevents the connection queued for too much time.
2023-05-07 18:02:49 +02:00
Benoit Chesneau
a423fca8e5
Merge pull request #2918 from JorisOnGithub/bugfix/fix-gthread-deadlock
gthread: only read sockets when they are readable (#2917)
2023-05-07 17:57:09 +02:00
Benoit Chesneau
1fd1c82195
Merge pull request #2419 from mildebrandt/feature/1663
Add additional logs when worker exits abnormally
2023-05-07 16:30:05 +02:00
Benoit Chesneau
5de82ce781
Merge pull request #2315 from benoitc/more-verbose-exit-logging
More verbose exit logging
2023-05-07 16:28:49 +02:00
Benoit Chesneau
400d84733a
Merge pull request #1917 from cuongtranx/1775-support-log-config-json
added capability to take JSON as log's config
2023-05-07 16:21:32 +02:00
Benoit Chesneau
db9de0175d
Merge branch 'master' into 1775-support-log-config-json 2023-05-07 16:16:56 +02:00
Benoit Chesneau
96ab8ba05a
Merge pull request #2405 from kenoss/feature/warn-if-sdnotify-and-daemon
Warn in the case of bad systemd configuration
2023-05-07 16:14:34 +02:00
Benoit Chesneau
b1d6418ebe
Merge pull request #2497 from sergeypeloton/patch-1
Use warning level for 'Bad request' logs
2023-05-07 16:06:47 +02:00
Benoit Chesneau
8a41cd2838
Merge pull request #2173 from julyclyde/master
Update faq.rst and fix technical mistake on ulimit
2023-05-07 15:55:58 +02:00
Benoit Chesneau
db363bc863
Merge pull request #2943 from vanschelven/docs-config-file
Docs: add link to configuration file
2023-05-07 15:40:29 +02:00
Benoit Chesneau
98653df9da
Update setup.py
let's show it supports 3.11 .  close #2941
2023-05-07 14:37:53 +02:00
Tal Einat
b8d6b1e97c
Add myself to THANKS 2023-03-22 21:58:06 +02:00
Tal Einat
72faa11e27
Replace pkg_resources.parse_version with packaging.version.parse
This is a step towards removing the dependency on pkg_resources, which is part
of setuptools, and thus makes setuptools a runtime dependency.
2023-03-22 21:53:05 +02:00
Klaas van Schelven
d04ddfd117 Docs: add link to configuration file
See #2136 (not a full solution, but at least one more path
to understanding added)
2023-02-08 12:04:53 +01:00
Benoit Chesneau
792edf6d9a
Merge pull request #2934 from samypr100/update-thanks
Update THANKS
2023-01-27 00:23:17 +01:00
samypr100
4d532c960b
Update THANKS 2023-01-26 17:34:09 -05:00
Benoit Chesneau
8fa57d0884
Merge pull request #2928 from samypr100/pycodestyle-fixup
Fixing errors reported by pycodestyle
2023-01-26 22:34:51 +01:00
Benoit Chesneau
bba59ae8f7
Merge pull request #2927 from samypr100/ci-improvements
CI Improvements
2023-01-26 22:32:04 +01:00
samypr100
2ea4699fe7
Fixing errors reported by pycodestyle 2023-01-22 21:20:11 -05:00
samypr100
f5d73aa73d
GA workflows cleanup
Working Matrix for both lint/tox
Fixing tox v4 issues
Adjust pylint to working version
2023-01-22 13:02:59 -05:00
benoitc
30baeebf33
Revert "get address from tuple"
This reverts commit c9d01c801967596f66636cfc0c47660339d32631.
2023-01-22 12:47:07 -05:00
Benoit Chesneau
48eda22a4b
Update tox.yml 2023-01-17 20:45:47 +01:00
Benoit Chesneau
0b2c6fd99e
bump uses 2023-01-17 20:22:06 +01:00