Skip to content

Commit

Permalink
Merge pull request #32 from xq2248/master
Browse files Browse the repository at this point in the history
dory can connect to ipv6 kafka brokers now
  • Loading branch information
dspeterson committed Oct 31, 2022
2 parents c173dea + 47b659b commit ca57f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dory/util/connect_to_host.cc
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void Dory::Util::ConnectToHost(const char *host_name, in_port_t port,
result_socket.Reset();

/* Iterate over our potential hosts. */
for (Db::TCursor csr(host_name, nullptr, AF_INET, SOCK_STREAM, 0,
for (Db::TCursor csr(host_name, nullptr, AF_UNSPEC, SOCK_STREAM, 0,
AI_PASSIVE);
csr;
++csr) {
Expand Down

1 comment on commit ca57f90

@xq2248
Copy link
Contributor

@xq2248 xq2248 commented on ca57f90 Nov 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Your dory project helps us a lot.

Please sign in to comment.