Skip to content

Commit

Permalink
caddy: update to 2.7.5
Browse files Browse the repository at this point in the history
Now works with Go 1.21.

NB: I removed the Illumos listener patches, it looks like they are no longer
required -- I hope that's correct.

In this release, we've fixed quite a few small bugs and annoyances, including
HTTP/2 Rapid Reset which affected most HTTP/2 implementations.


- Updated https://github.com/quic-go/quic-go from v0.37.5 to v0.39.0, including
  many performance improvements. GSO and ECN are now enabled by default, but you
  may turn them off by setting the QUIC_GO_DISABLE_GSO=true and
  QUIC_GO_DISABLE_ECN=true environment variables respectively, if they cause you
  problems. See the quic-go release notes for more details.
- The file server's fileserver.BrowseTemplate is now exported, so it may be
  customized by programs embedding Caddy.
- Environment variables loaded with --envfile no longer override existing
  variables.
- The encode handler now compresses application/wasm* content types by
  default.
- The reverse_proxy handler can now emit very detailed logs for debugging
  streaming and buffering. To enable it, set the verbose_logs subdirective, and
  set logging to debug level. Since the logs from this are very noisy, using
  verbose_logs to opt-in is necessary. We may ask you to enable this when asking
  for support!
- You can now check the version with caddy -v, like most other CLI utilities!
  • Loading branch information
bsiegert committed Oct 19, 2023
1 parent 6456696 commit d3b56e4
Show file tree
Hide file tree
Showing 5 changed files with 803 additions and 999 deletions.
9 changes: 2 additions & 7 deletions www/caddy/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.74 2023/10/15 12:04:33 bsiegert Exp $
# $NetBSD: Makefile,v 1.75 2023/10/19 13:44:37 bsiegert Exp $

DISTNAME= caddy-2.6.4
PKGREVISION= 7
DISTNAME= caddy-2.7.5
CATEGORIES= www
GITHUB_TAG= v${PKGVERSION_NOREV}
MASTER_SITES= ${MASTER_SITE_GITHUB:=caddyserver/}
Expand All @@ -13,10 +12,6 @@ LICENSE= apache-2.0

EXTRACT_USING= bsdtar

# Work around go's lack of conditional compilation.
pre-patch:
${CP} ${WRKSRC}/listen_unix.go ${WRKSRC}/listen_illumos.go

.include "go-modules.mk"

.include "../../lang/go/go-module.mk"
Expand Down
Loading

0 comments on commit d3b56e4

Please sign in to comment.