Skip to content

Commit 68fb1f3

Browse files
committed
0.6.7
1 parent 1ce280b commit 68fb1f3

4 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
0.6.7 (2022-03-18)
2+
=====
3+
* Default to ipv4 host resolution for backward
4+
compatibility.
5+
16
0.6.6 (2022-01-30)
27
======
38
* Add support for ipv6 connection,

cry.opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.6.6"
3+
version: "0.6.7"
44
synopsis: "OCaml client for the various icecast & shoutcast source protocols"
55
description:
66
"The cry library is an implementation of the various icecast & shoutcast protocols to connect to streaming servers such as icecast"

dune-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(lang dune 2.8)
2-
(version 0.6.6)
2+
(version 0.6.7)
33
(name cry)
44
(source (github savonet/ocaml-cry))
55
(license GPL-2.0)

src/cry.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ let resolve_host host port =
429429
Unix.getaddrinfo host (string_of_int port) [AI_SOCKTYPE SOCK_STREAM]
430430
with
431431
| [] -> raise Not_found
432-
| l -> l
432+
| l -> List.rev l
433433

434434
let add_host_header ?(force = false) headers host port =
435435
try

0 commit comments

Comments
 (0)