Skip to content

Commit 0766f15

Browse files
committed
prepare for 0.15
1 parent db90017 commit 0766f15

File tree

5 files changed

+22
-6
lines changed

5 files changed

+22
-6
lines changed

CHANGES.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11

2+
## 0.15
3+
4+
- fix: do not block in `accept`, enabling more graceful shutdown
5+
- improve help message for tiny-httpd-vfs-pack
6+
- security: zero out buffers from pool before reusing them
7+
28
## 0.14
39

410
- breaking: `set_top_handler` takes a stream request, for more generality

dune-project

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
(name tiny_httpd)
33
(generate_opam_files true)
44

5-
(version 0.14)
5+
(authors c-cube)
6+
(maintainers c-cube)
7+
(version 0.15)
68
(source (github c-cube/tiny_httpd))
79
(homepage https://github.com/c-cube/tiny_httpd/)
810
(license MIT)
@@ -13,6 +15,8 @@
1315
(tags (http thread server tiny_httpd http_of_dir simplehttpserver))
1416
(depends
1517
seq
18+
base-threads
19+
result
1620
(ocaml (>= 4.05))
1721
(odoc :with-doc)
1822
(conf-libcurl :with-test)
@@ -23,6 +27,6 @@
2327
(name tiny_httpd_camlzip)
2428
(synopsis "Interface to camlzip for tiny_httpd")
2529
(depends
26-
(tiny_httpd_camlzip (= :version))
30+
(tiny_httpd (= :version))
2731
(camlzip (>= 1.06))
2832
(odoc :with-doc)))

src/Tiny_httpd_buf.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ val contents : t -> string
1515

1616
val clear_and_zero : t -> unit
1717
(** Clear the buffer and zero out its storage.
18-
@since NEXT_RELEASE *)
18+
@since 0.15 *)
1919

2020
val bytes_slice : t -> bytes
2121
(** Access underlying slice of bytes.

tiny_httpd.opam

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.14"
3+
version: "0.15"
44
synopsis: "Minimal HTTP server using threads"
5+
maintainer: ["c-cube"]
6+
authors: ["c-cube"]
57
license: "MIT"
68
tags: [
79
"http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver"
@@ -11,6 +13,8 @@ bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
1113
depends: [
1214
"dune" {>= "2.9"}
1315
"seq"
16+
"base-threads"
17+
"result"
1418
"ocaml" {>= "4.05"}
1519
"odoc" {with-doc}
1620
"conf-libcurl" {with-test}

tiny_httpd_camlzip.opam

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
# This file is generated by dune, edit dune-project instead
22
opam-version: "2.0"
3-
version: "0.14"
3+
version: "0.15"
44
synopsis: "Interface to camlzip for tiny_httpd"
5+
maintainer: ["c-cube"]
6+
authors: ["c-cube"]
57
license: "MIT"
68
homepage: "https://github.com/c-cube/tiny_httpd/"
79
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
810
depends: [
911
"dune" {>= "2.9"}
10-
"tiny_httpd_camlzip" {= version}
12+
"tiny_httpd" {= version}
1113
"camlzip" {>= "1.06"}
1214
"odoc" {with-doc}
1315
]

0 commit comments

Comments
 (0)