Commit graph

70 commits

Author SHA1 Message Date
Peter Bieringer
e22fbe282b centralize format_address 2025-03-13 21:47:44 +01:00
Peter Bieringer
9372344bb1 extend header information with HTTPS info 2025-03-08 16:49:28 +01:00
Peter Bieringer
c4a48828d3 extend copyright 2025-03-08 16:48:59 +01:00
Peter Bieringer
78dccbdc92 fix for lint 2025-03-05 20:59:41 +01:00
Peter Bieringer
63b98913e0 add client IP in case of SSL error 2025-03-05 19:57:25 +01:00
Peter Bieringer
1e318c81cf fix copyright 2024-12-14 08:22:51 +01:00
Peter Bieringer
119cefce34 Improve: log important module versions on startup 2024-12-14 08:22:22 +01:00
Peter Bieringer
416081a81f review, calculate also max TLS version 2024-11-14 07:38:03 +01:00
Peter Bieringer
00dac0c030 add logging for ssl cert/key and cafile 2024-11-14 07:38:03 +01:00
Peter Bieringer
fb904320d2 add support for ssl protocol and ciphersuite 2024-11-14 07:38:03 +01:00
Mathieu Dupuy
34b449f27f
chore: pyupgrade --py38-plus 2024-08-06 13:49:23 +02:00
Peter Bieringer
c046c6ae34 fix logger-warn-leftovers 2024-07-25 15:48:24 +02:00
Peter Bieringer
4c55b6db28 coding style fixes 2024-03-16 07:14:20 +01:00
Peter Bieringer
b16bc212f6 correct IPv4/IPv6 address output 2024-03-14 05:55:45 +01:00
Peter Bieringer
f508af580c minor fixes 2024-03-13 22:34:35 +01:00
Peter Bieringer
0e1d502d0a rework server listen code 2024-03-13 22:28:50 +01:00
Peter Bieringer
0750108152 catch "EBUSY" and move EAI_AGAIN 2024-03-12 20:01:35 +01:00
Peter Bieringer
39c339638d be more relaxed on IPv4/IPv6 systems during server listen 2024-03-12 18:33:59 +01:00
Unrud
f8e28f6b6e Fix new type error 2023-03-05 17:15:34 +01:00
Unrud
515b196fda Remove missing type 2022-07-02 20:39:09 +02:00
Unrud
bbaf0ebd8c Change name in file header 2021-12-09 16:55:46 +01:00
Unrud
cecb17df03 More type hints 2021-09-26 22:24:45 +02:00
Unrud
73e42f8101 Enable static type checking 2021-09-26 22:24:45 +02:00
Unrud
0e8949ff71 Internal server: Shutdown server via socket 2020-10-04 14:40:52 +02:00
Unrud
18f21e26d5 Improve log message 2020-10-04 05:40:46 +02:00
Unrud
a9804dd550 Don't use assertion for expected error 2020-10-04 05:39:58 +02:00
Unrud
46c39b28d6 Make shutdown_socket optional 2020-08-31 13:54:47 +02:00
Unrud
b98cd98c4c Fix internal server on FreeBSD 2020-08-18 22:51:35 +02:00
Unrud
f780853d8f Fix internal server on OpenBSD
On OpenBSD closed sockets are handled as exceptional conditions.
Fixes #1062
2020-06-06 21:08:14 +02:00
Unrud
6ec63ccc9b Handle missing IPv6 support by the kernel
This is different from disabled IPv6.

Fixes #1050
2020-05-24 10:11:40 +02:00
Unrud
8ca01a4989 Fix integrated server on android 2020-04-09 22:01:55 +02:00
Unrud
f46a3e3d24 Fix test on MacOS (3) 2020-02-20 11:27:26 +01:00
Unrud
d3b632e123 Remove unused code 2020-02-20 10:41:33 +01:00
Unrud
8890a4c030 Handle disabled IPv6 support and workaround for PyPy 2020-02-20 07:57:39 +01:00
Unrud
180e96b332 Move internal options to other sections 2020-02-19 09:50:36 +01:00
Unrud
5371be2b39 Mark internal configuration options and sections with underscore 2020-02-19 09:50:27 +01:00
Unrud
66fabbead9 Use socket pairs to communicate with client threads 2020-02-19 09:50:19 +01:00
Unrud
698980d7be Remove forking support
* Third-party plugins have to be fork-safe
* Not supported on Windows
2020-02-19 09:50:02 +01:00
Unrud
3b99d64935 Cosmetic changes 2020-02-19 09:50:00 +01:00
Unrud
cc22927353 Bind sockets for IPv4 and IPv6 2020-02-19 09:49:56 +01:00
Unrud
36483670d4 Refactor: Remove class attributes and subclassing 2020-02-19 09:49:44 +01:00
Unrud
11ea3cc7a4 Remove settings for TLS protocol and ciphers
Use the recommended default settings instead.
2020-02-19 09:48:38 +01:00
Unrud
4a43b17840 Remove reverse DNS lookup
It wasn't working for years because the functionality was removed from http.server.
Nobody complained.
2020-02-19 09:48:34 +01:00
Unrud
0fb02cd026 Cosmetic changes (pylint) 2020-01-17 12:59:14 +01:00
Unrud
88a0af8ba1 Improve documentation 2020-01-12 23:32:28 +01:00
Unrud
caf5ff1080 Change default value for external users 2020-01-12 23:32:26 +01:00
Unrud
b7590f8c84 Rework configuration 2019-06-17 04:18:09 +02:00
Unrud
63e6d091b9 Update copyright 2019-06-17 04:13:24 +02:00
Unrud
edc20ed510 Implement fallback for multiprocessing module
module is not working on Android
2018-11-03 21:51:09 +00:00
Unrud
6b9fc870c2 BaseServer doesn't have __exit__ in Python < 3.6 2018-09-09 15:19:48 +02:00