Compare commits

...

13 Commits
0.49.9 ... ipv6

Author SHA1 Message Date
dgtlmoon
c81cda08f7 fix curl request 2022-12-26 16:45:52 +01:00
dgtlmoon
5d4dee2a1e Merge branch 'master' into ipv6 2022-12-26 16:34:59 +01:00
dgtlmoon
4a86637f2d add ipv6 checks 2022-12-26 16:34:05 +01:00
dgtlmoon
9b4b5cae1c Merge branch 'ipv6' of https://github.com/dom6770/changedetection.io into ipv6 2022-12-26 16:33:11 +01:00
dgtlmoon
285a65ced4 wrong test check 2022-12-26 14:01:22 +01:00
dgtlmoon
467cd099e9 revert 2022-12-26 13:32:48 +01:00
dgtlmoon
794a6d59de was simply the wrong hostname 2022-12-26 13:31:43 +01:00
dgtlmoon
5f997e5d1b wtf 2022-12-26 10:07:24 +01:00
dgtlmoon
e412fd6146 hmm 2022-12-26 09:49:06 +01:00
dgtlmoon
c950ab5219 archive debug output 2022-12-26 09:29:22 +01:00
dgtlmoon
fcbda7829a hmm fixes the error on github? 2022-12-25 23:03:14 +01:00
dom6770
366baaf322 fixed wrong ipv6 argument position at ssl_mode 2022-11-19 08:26:38 -06:00
dom6770
6c1b9bcc5c added ipv6 support to the eventlet listener 2022-11-19 08:14:06 -06:00
2 changed files with 6 additions and 2 deletions

View File

@@ -68,6 +68,9 @@ jobs:
# Should return 0 (no error) when grep finds it
curl -s http://localhost:5556 |grep -q checkbox-uuid
curl -s http://localhost:5556/rss|grep -q rss-specification
# and IPv6
curl -s -g -6 "http://[::1]:5556"|grep -q checkbox-uuid
curl -s -g -6 "http://[::1]:5556/rss"|grep -q rss-specification
#export WEBDRIVER_URL=http://localhost:4444/wd/hub
#pytest tests/fetchers/test_content.py

View File

@@ -9,6 +9,7 @@ import getopt
import os
import signal
import sys
import socket
from . import store, changedetection_app, content_fetcher
from . import __version__
@@ -126,11 +127,11 @@ def main():
if ssl_mode:
# @todo finalise SSL config, but this should get you in the right direction if you need it.
eventlet.wsgi.server(eventlet.wrap_ssl(eventlet.listen((host, port)),
eventlet.wsgi.server(eventlet.wrap_ssl(eventlet.listen((host, port), socket.AF_INET6),
certfile='cert.pem',
keyfile='privkey.pem',
server_side=True), app)
else:
eventlet.wsgi.server(eventlet.listen((host, int(port))), app)
eventlet.wsgi.server(eventlet.listen((host, int(port)), socket.AF_INET6), app)