Skip to content

Commit

Permalink
remove unused file; remove async-resposne; update history
Browse files Browse the repository at this point in the history
  • Loading branch information
shenfeng committed Mar 28, 2013
1 parent ca6e6c9 commit 4a1ef09
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 361 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Current [semantic](http://semver.org/) version: `[http-kit "2.0.0-RC4"]`.

### Hack locally

Hacker friendly: only ~3k lines of code (including java), clean and tidy.
Hacker friendly: Written from ground-up, only ~3k lines of code (including java), clean and tidy.

```sh
# modify as you want, unit tests back you up
Expand Down
162 changes: 0 additions & 162 deletions README_CN.md

This file was deleted.

6 changes: 6 additions & 0 deletions history.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@ HTTP server:

### 2.0-rc2 (2013/2/9)
1. fix a possible CPU 100% usage

### 2.0-0 (2013/3/28)
1. Unify WebSocket and HTTP long polling/streaming with Channel protocol and with-channel (API breaks with the RC)
2. WebSocket support sending and receiving binary frame
3. Support HTTP streaming
4. Fix few issues with WebSocket
153 changes: 0 additions & 153 deletions snippets_zh.clj

This file was deleted.

6 changes: 0 additions & 6 deletions src/org/httpkit/server.clj
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,3 @@
{:status 400 :body "Bad Sec-WebSocket-Key header"})
(do ~@body
{:body ~ch-name}))))

(defmacro async-response "DEPRECATED"
[request callback-name & body]
`(with-channel ~request ch#
(let [~callback-name (fn [data#] (send! ch# data# true))]
~@body)))
4 changes: 2 additions & 2 deletions test/wsbench.go → test/go/wsbench.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import (
)

const (
origin = "http://localhost:9899/"
wsurl = "ws://localhost:9899/test"
origin = "http://localhost:9090/"
wsurl = "ws://localhost:9090/ws"
)

var concurrency = flag.Int("c", 100, "concurrency")
Expand Down
File renamed without changes.
Loading

0 comments on commit 4a1ef09

Please sign in to comment.