main
Bob Mottram 2022-03-13 23:21:29 +00:00
parent 5f0cf637f0
commit c3838367c2
1 changed files with 4 additions and 0 deletions

View File

@ -4051,12 +4051,16 @@ def _receive_follow_request(session, session_onion, session_i2p,
curr_domain = onion_domain
curr_port = 80
port = 80
if debug:
print('Domain switched from ' + domain + ' to ' + curr_domain)
elif i2p_domain and domain_to_follow.endswith('.i2p'):
curr_session = session_i2p
curr_http_prefix = 'http'
curr_domain = i2p_domain
curr_port = 80
port = 80
if debug:
print('Domain switched from ' + domain + ' to ' + curr_domain)
# is the actor sending the request valid?
if not valid_sending_actor(curr_session, base_dir,