File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
name = " ZMQ"
2
2
uuid = " c2297ded-f4af-51ae-bb23-16f91089e4e1"
3
- version = " 1.4.0 "
3
+ version = " 1.4.1 "
4
4
5
5
[deps ]
6
6
FileWatching = " 7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
Original file line number Diff line number Diff line change @@ -7,12 +7,17 @@ CurrentModule = ZMQ
7
7
This documents notable changes in ZMQ.jl. The format is based on [ Keep a
8
8
Changelog] ( https://keepachangelog.com ) .
9
9
10
- ## Unreleased
10
+ ## [ v1.4.1 ] - 2025-06-13
11
11
12
12
### Changed
13
13
- Implemented ` Base.show() ` methods for [ ` Socket ` ] ( @ref ) and [ ` Context ` ] ( @ref )
14
14
for pretty-printing ([ #255 ] ).
15
15
16
+ ### Fixed
17
+ - The precompilation workload now hardcodes the use of IP address ` 127.0.0.1 `
18
+ instead of resolving ` localhost ` , which fixes precompilation on machines that
19
+ may have ` localhost ` resolve to a different node ([ #257 ] ).
20
+
16
21
## [ v1.4.0] - 2024-11-30
17
22
18
23
### Added
Original file line number Diff line number Diff line change @@ -68,14 +68,13 @@ import PrecompileTools: @compile_workload
68
68
69
69
s2= Socket (REQ)
70
70
71
- # zmq < 4.3.5 can only bind to ip address or network interface, not hostname
72
- localhost_ip = Sockets. getaddrinfo (" localhost" , Sockets. IPv4)
73
- ZMQ. bind (s1, " tcp://$(localhost_ip) :*" )
71
+ # Note that ZMQ < 4.3.5 can only bind to IP address or network interface, not hostname
72
+ ZMQ. bind (s1, " tcp://127.0.0.1:*" )
74
73
# Strip the trailing null-terminator
75
74
last_endpoint = s1. last_endpoint[1 : end - 1 ]
76
75
# Parse the port from the endpoint
77
76
port = parse (Int, split (last_endpoint, " :" )[end ])
78
- ZMQ. connect (s2, " tcp://$(localhost_ip) :$(port) " )
77
+ ZMQ. connect (s2, " tcp://127.0.0.1 :$(port) " )
79
78
80
79
msg = Message (" test request" )
81
80
You can’t perform that action at this time.
0 commit comments