Skip to content

Releases: bddjr/hlfhr

v1.2.2

17 Nov 14:30
3f8bbbd
Compare
Choose a tag to compare
github.com/bddjr/[email protected]

Public Listener

v1.2.1

17 Nov 13:04
cfa7870
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Private listener, optimize NewListener

v1.2.0

17 Nov 12:01
d398ceb
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Remove

  • Server.NewListener
  • IsMyListener
  • IsMyConn

Optimize

  • README
  • ServeTLS
  • ListenAndServeTLS
  • ConnFirstByteLooksLikeHttp
  • response
  • More internal code...

v1.1.3

27 Oct 07:25
450d710
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Optimize conn

v1.1.2

26 Oct 10:38
03f96ab
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Optimize response

v1.1.1

26 Oct 10:12
b25898e
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Add

  • MaxHeaderBytesReader
  • MaxInt

Optimize

Internal code.

Tested go version

1.23.2

v1.1.0

25 Oct 05:03
b3ffe87
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Add

  • simplehlfhr
  • IsHttpServerShuttingDown
  • ConnFirstByteLooksLikeHttp
  • NewBufioReaderWithBytes

Optimize

  • conn sync serve http
  • source code file name
  • more internal code...

Tested go version

1.23.2

v1.0.2

23 Oct 14:26
94788f1
Compare
Choose a tag to compare
go get github.com/bddjr/[email protected]

Remove

  • NewResponse
  • NewResponseWriter
  • ResponseWriter
  • ErrMissingRequiredHostHeader
  • r.Response in Server.HttpOnHttpsPortErrorHandler

Optimize

  • Change ErrHttpOnHttpsPort to client sent an HTTP request to an HTTPS server golang/go#66501
  • w.WriteHeader in Server.HttpOnHttpsPortErrorHandler
  • RedirectToHttps
  • Server.IsShuttingDown
  • More internal code...

Tested go version

  • 1.22.2
  • 1.23.2

v1.0.1

15 Oct 09:28
98044b6
Compare
Choose a tag to compare

Optimize: connHttpHeaderReader move from conn.Read to conn.handleHttp

go get github.com/bddjr/[email protected]

v1.0.0

14 Oct 15:20
a5d38b9
Compare
Choose a tag to compare

Add

  • ResponseWriter WriteString

Optimize

  • Async handle http request for conn.Read
  • Internal code

Remove

  • Keep Alive
  • ResponseWriter.Hijack
  • ResponseWriter.SetReadDeadline
  • ResponseWriter.SetWriteDeadline
  • ResponseWriter.EnableFullDuplex
  • NewConn

Change

  • private type Conn to conn
  • server.go comments
  • README.md

Get

go get github.com/bddjr/[email protected]