Push v8.2.4, it contains a bugfix for StaticWeb with gzip | Read HISTORY.md

Maybe we'll have to investigate it more some time, but for now I think we are ok, it's working as expected except the content-length canno be reported because we get the compressed size after the gzip writer.Write and we can't send headers after its underline writer which is the ResponseWriter, a solution for that is to use a temp bytes.Buffer but this will slow down the performance, users who need to know the size can use a temp writer instead for theirselves.


Former-commit-id: a4400ca5db526998a646fd5880ca67358fa72c0f
This commit is contained in:
kataras 2017-08-12 09:08:42 +03:00
parent e00cf383a2
commit 960ddb9f72
5 changed files with 10 additions and 4 deletions

View File

@ -18,6 +18,12 @@ Developers are not forced to upgrade if they don't really need it. Upgrade whene
**How to upgrade**: Open your command-line and execute this command: `go get -u github.com/kataras/iris`.
# Sa, 12 August 2017 | v8.2.4
No API Changes.
Fix https://github.com/kataras/iris/issues/717, users are welcomed to follow the thread for any questions or reports about Gzip and Static Files Handlers **only**.
# Th, 10 August 2017 | v8.2.3
No API Changes.

View File

@ -26,7 +26,7 @@ Iris is a fast, simple and efficient micro web framework for Go. It provides a b
### 📑 Table of contents
* [Installation](#-installation)
* [Latest changes](https://github.com/kataras/iris/blob/master/HISTORY.md#th-10-august-2017--v822)
* [Latest changes](https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-august-2017--v824)
* [Learn](#-learn)
* [HTTP Listening](_examples/#http-listening)
* [Configuration](_examples/#configuration)

View File

@ -1 +1 @@
8.2.3:https://github.com/kataras/iris/blob/master/HISTORY.md#th-10-august-2017--v823
8.2.4:https://github.com/kataras/iris/blob/master/HISTORY.md#th-12-august-2017--v824

2
doc.go
View File

@ -35,7 +35,7 @@ Source code and other details for the project are available at GitHub:
Current Version
8.2.3
8.2.4
Installation

View File

@ -32,7 +32,7 @@ import (
const (
// Version is the current version number of the Iris Web Framework.
Version = "8.2.3"
Version = "8.2.4"
)
// HTTP status codes as registered with IANA.