Skip to content

Commit

Permalink
prepare for 0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Dec 5, 2023
1 parent db90017 commit 0766f15
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 6 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@

## 0.15

- fix: do not block in `accept`, enabling more graceful shutdown
- improve help message for tiny-httpd-vfs-pack
- security: zero out buffers from pool before reusing them

## 0.14

- breaking: `set_top_handler` takes a stream request, for more generality
Expand Down
8 changes: 6 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
(name tiny_httpd)
(generate_opam_files true)

(version 0.14)
(authors c-cube)
(maintainers c-cube)
(version 0.15)
(source (github c-cube/tiny_httpd))
(homepage https://github.com/c-cube/tiny_httpd/)
(license MIT)
Expand All @@ -13,6 +15,8 @@
(tags (http thread server tiny_httpd http_of_dir simplehttpserver))
(depends
seq
base-threads
result
(ocaml (>= 4.05))
(odoc :with-doc)
(conf-libcurl :with-test)
Expand All @@ -23,6 +27,6 @@
(name tiny_httpd_camlzip)
(synopsis "Interface to camlzip for tiny_httpd")
(depends
(tiny_httpd_camlzip (= :version))
(tiny_httpd (= :version))
(camlzip (>= 1.06))
(odoc :with-doc)))
2 changes: 1 addition & 1 deletion src/Tiny_httpd_buf.mli
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ val contents : t -> string

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

val bytes_slice : t -> bytes
(** Access underlying slice of bytes.
Expand Down
6 changes: 5 additions & 1 deletion tiny_httpd.opam
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.14"
version: "0.15"
synopsis: "Minimal HTTP server using threads"
maintainer: ["c-cube"]
authors: ["c-cube"]
license: "MIT"
tags: [
"http" "thread" "server" "tiny_httpd" "http_of_dir" "simplehttpserver"
Expand All @@ -11,6 +13,8 @@ bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
depends: [
"dune" {>= "2.9"}
"seq"
"base-threads"
"result"
"ocaml" {>= "4.05"}
"odoc" {with-doc}
"conf-libcurl" {with-test}
Expand Down
6 changes: 4 additions & 2 deletions tiny_httpd_camlzip.opam
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
version: "0.14"
version: "0.15"
synopsis: "Interface to camlzip for tiny_httpd"
maintainer: ["c-cube"]
authors: ["c-cube"]
license: "MIT"
homepage: "https://github.com/c-cube/tiny_httpd/"
bug-reports: "https://github.com/c-cube/tiny_httpd/issues"
depends: [
"dune" {>= "2.9"}
"tiny_httpd_camlzip" {= version}
"tiny_httpd" {= version}
"camlzip" {>= "1.06"}
"odoc" {with-doc}
]
Expand Down

0 comments on commit 0766f15

Please sign in to comment.