Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
irker
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
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
iDB
irker
Commits
d05aa39e
Commit
d05aa39e
authored
9 years ago
by
Eric S. Raymond
Browse files
Options
Downloads
Patches
Plain Diff
Version bump for release 2.15
parent
d293d722
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
NEWS
+4
-0
4 additions, 0 deletions
NEWS
irkerd
+9
-22
9 additions, 22 deletions
irkerd
with
13 additions
and
22 deletions
NEWS
+
4
−
0
View file @
d05aa39e
irker history
irker history
2.15: 2016-01-12
Emergency backout of getaddrinfo, it randomly hanges.
2.14: 2016-01-12
2.14: 2016-01-12
Lookup with getaddrinfo allows use with IPv6.
Lookup with getaddrinfo allows use with IPv6.
Documentation improvements.
2.13: 2015-06-14
2.13: 2015-06-14
SSL validation fix.
SSL validation fix.
...
...
This diff is collapsed.
Click to expand it.
irkerd
+
9
−
22
View file @
d05aa39e
...
@@ -42,7 +42,7 @@ CONNECTION_MAX = 200 # To avoid hitting a thread limit
...
@@ -42,7 +42,7 @@ CONNECTION_MAX = 200 # To avoid hitting a thread limit
# No user-serviceable parts below this line
# No user-serviceable parts below this line
version
=
"
2.1
4
"
version
=
"
2.1
5
"
import
argparse
import
argparse
import
logging
import
logging
...
@@ -286,27 +286,14 @@ class IRCServerConnection():
...
@@ -286,27 +286,14 @@ class IRCServerConnection():
self
.
real_server_name
=
""
self
.
real_server_name
=
""
self
.
target
=
target
self
.
target
=
target
self
.
nickname
=
nickname
self
.
nickname
=
nickname
try
:
err
=
None
self
.
socket
=
socket
.
socket
(
socket
.
AF_INET
,
socket
.
SOCK_STREAM
)
for
res
in
socket
.
getaddrinfo
(
target
.
servername
,
target
.
port
,
0
,
socket
.
SOCK_STREAM
):
if
target
.
ssl
:
af
,
socktype
,
proto
,
canonname
,
sa
=
res
self
.
socket
=
self
.
_wrap_socket
(
self
.
socket
=
None
socket
=
self
.
socket
,
target
=
target
,
**
kwargs
)
try
:
self
.
socket
.
bind
((
''
,
0
))
self
.
socket
=
socket
.
socket
(
af
,
socktype
,
proto
)
self
.
socket
.
connect
((
target
.
servername
,
target
.
port
))
if
target
.
ssl
:
except
socket
.
error
as
err
:
self
.
socket
=
self
.
_wrap_socket
(
socket
=
self
.
socket
,
target
=
target
,
**
kwargs
)
self
.
socket
.
bind
((
''
,
0
))
self
.
socket
.
connect
(
sa
)
except
socket
.
error
as
_
:
err
=
_
if
self
.
socket
is
not
None
:
self
.
socket
.
close
()
if
self
.
socket
is
None
:
err
=
socket
.
error
(
"
getaddrinfo returns an empty list
"
)
if
err
is
not
None
:
raise
IRCServerConnectionError
(
"
Couldn
'
t connect to socket: %s
"
%
err
)
raise
IRCServerConnectionError
(
"
Couldn
'
t connect to socket: %s
"
%
err
)
if
target
.
ssl
:
if
target
.
ssl
:
...
...
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