Skip to content

Commit

Permalink
Merge pull request #6 for v0.4.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
jeevatkm committed Aug 5, 2018
2 parents b9882fc + d31c614 commit f8c225c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<h2 align="center">WebSocket library by aah framework</h2>
</p>
<p align="center">
<p align="center"><a href="https://travis-ci.org/go-aah/ws"><img src="https://travis-ci.org/go-aah/ws.svg?branch=master" alt="Build Status"></a> <a href="https://codecov.io/gh/go-aah/ws/branch/master"><img src="https://codecov.io/gh/go-aah/ws/branch/master/graph/badge.svg" alt="Code Coverage"></a> <a href="https://goreportcard.com/report/aahframework.org/ws.v0"><img src="https://goreportcard.com/badge/aahframework.org/ws.v0" alt="Go Report Card"></a> <a href="https://github.com/go-aah/ws/releases/latest"><img src="https://img.shields.io/badge/version-0.3.0-blue.svg" alt="Release Version"></a> <a href="https://godoc.org/aahframework.org/ws.v0"><img src="https://godoc.org/aahframework.org/ws.v0?status.svg" alt="Godoc"></a> <a href="https://twitter.com/aahframework"><img src="https://img.shields.io/badge/[email protected]" alt="Twitter @aahframework"></a></p>
<p align="center"><a href="https://travis-ci.org/go-aah/ws"><img src="https://travis-ci.org/go-aah/ws.svg?branch=master" alt="Build Status"></a> <a href="https://codecov.io/gh/go-aah/ws/branch/master"><img src="https://codecov.io/gh/go-aah/ws/branch/master/graph/badge.svg" alt="Code Coverage"></a> <a href="https://goreportcard.com/report/aahframework.org/ws.v0"><img src="https://goreportcard.com/badge/aahframework.org/ws.v0" alt="Go Report Card"></a> <a href="https://github.com/go-aah/ws/releases/latest"><img src="https://img.shields.io/badge/version-0.4.0-blue.svg" alt="Release Version"></a> <a href="https://godoc.org/aahframework.org/ws.v0"><img src="https://godoc.org/aahframework.org/ws.v0?status.svg" alt="Godoc"></a> <a href="https://twitter.com/aahframework"><img src="https://img.shields.io/badge/[email protected]" alt="Twitter @aahframework"></a></p>
</p>

aah WS is RFC 6455 compliant; internally it uses tiny, efficient [WebSocket library](http://github.com/gobwas/ws) developed by [Sergey Kamardin](https://github.com/gobwas).

### News

* `v0.3.0` [released](https://github.com/go-aah/ws/releases/latest) and tagged on Jul 06, 2018.
* `v0.4.0` [released](https://github.com/go-aah/ws/releases/latest) and tagged on Aug 05, 2018.

## Installation

Expand Down
3 changes: 2 additions & 1 deletion engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ func (e *Engine) connect(w http.ResponseWriter, r *http.Request, route *router.R
}

r.Method = ahttp.MethodGet // back to GET for upgrade
conn, _, hs, err := gws.UpgradeHTTP(r, w, ctx.Header)
u := gws.HTTPUpgrader{Header: ctx.Header}
conn, _, hs, err := u.Upgrade(r, w)
if err != nil {
ctx.Log().Errorf("WS: Unable establish a WebSocket connection for '%s'", ctx.Req.Path)
ctx.reason = ErrConnectFailed
Expand Down
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
package ws

// Version no. of WebSocket library by aah framework.
const Version = "0.3.0"
const Version = "0.4.0"

0 comments on commit f8c225c

Please sign in to comment.