mirror of https://gitlab.com/bashrc2/epicyon
Debug
parent
5f0cf637f0
commit
c3838367c2
4
inbox.py
4
inbox.py
|
@ -4051,12 +4051,16 @@ def _receive_follow_request(session, session_onion, session_i2p,
|
||||||
curr_domain = onion_domain
|
curr_domain = onion_domain
|
||||||
curr_port = 80
|
curr_port = 80
|
||||||
port = 80
|
port = 80
|
||||||
|
if debug:
|
||||||
|
print('Domain switched from ' + domain + ' to ' + curr_domain)
|
||||||
elif i2p_domain and domain_to_follow.endswith('.i2p'):
|
elif i2p_domain and domain_to_follow.endswith('.i2p'):
|
||||||
curr_session = session_i2p
|
curr_session = session_i2p
|
||||||
curr_http_prefix = 'http'
|
curr_http_prefix = 'http'
|
||||||
curr_domain = i2p_domain
|
curr_domain = i2p_domain
|
||||||
curr_port = 80
|
curr_port = 80
|
||||||
port = 80
|
port = 80
|
||||||
|
if debug:
|
||||||
|
print('Domain switched from ' + domain + ' to ' + curr_domain)
|
||||||
|
|
||||||
# is the actor sending the request valid?
|
# is the actor sending the request valid?
|
||||||
if not valid_sending_actor(curr_session, base_dir,
|
if not valid_sending_actor(curr_session, base_dir,
|
||||||
|
|
Loading…
Reference in New Issue