Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Weblate
gajim
Commits
a73bf46d
Commit
a73bf46d
authored
12 years ago
by
zimio
Browse files
Options
Downloads
Patches
Plain Diff
replace Socks5Receiver with Socks5ReceiverClient
parent
f4fa7057
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/common/protocol/bytestream.py
+2
-3
2 additions, 3 deletions
src/common/protocol/bytestream.py
with
2 additions
and
3 deletions
src/common/protocol/bytestream.py
+
2
−
3
View file @
a73bf46d
...
...
@@ -41,7 +41,7 @@ from common import dataforms
from
common
import
ged
from
common
import
jingle_xtls
from
common.file_props
import
FilesProp
from
common.socks5
import
Socks5Receiver
from
common.socks5
import
Socks5Receiver
Client
import
logging
log
=
logging
.
getLogger
(
'
gajim.c.p.bytestream
'
)
...
...
@@ -730,9 +730,8 @@ class ConnectionSocks5Bytestream(ConnectionBytestream):
file_props
.
streamhost_used
=
True
file_props
.
streamhosts
.
append
(
proxy
)
file_props
.
is_a_proxy
=
True
receiver
=
Socks5Receiver
(
gajim
.
idlequeue
,
proxy
,
receiver
=
Socks5Receiver
Client
(
gajim
.
idlequeue
,
proxy
,
file_props
.
sid
,
file_props
)
gajim
.
socks5queue
.
add_receiver
(
self
.
name
,
receiver
)
proxy
[
'
idx
'
]
=
receiver
.
queue_idx
gajim
.
socks5queue
.
on_success
=
self
.
_proxy_auth_ok
raise
xmpp
.
NodeProcessed
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment