Nikolay Kim
65ca563579
use read only self for Middleware
2018-06-21 23:06:23 +06:00
Nikolay Kim
3de9284592
Handler::handle uses &self instead of mutabble reference
2018-06-21 17:07:54 +06:00
Nikolay Kim
5a9992736f
Merge pull request #339 from joshleeb/propogate-scope-default-resource
...
Propagate scope default resource
2018-06-21 15:40:02 +06:00
Josh Leeb-du Toit
0338767264
Update CHANGES for default scope propagation
2018-06-21 19:37:34 +10:00
Josh Leeb-du Toit
c5e8c1b710
Propagate default resources to underlying scopes
2018-06-21 18:17:27 +10:00
Nikolay Kim
b5594ae2a5
Fix doc api example
2018-06-21 14:11:00 +06:00
Nikolay Kim
58d1f4a4aa
switch to actix master
2018-06-21 13:34:36 +06:00
Nikolay Kim
b7d813eeba
update tests
2018-06-21 12:04:00 +06:00
Nikolay Kim
8e160ebda7
clippy warning
2018-06-21 11:49:36 +06:00
Nikolay Kim
0093b7ea5a
refactor extractor configuration #331
2018-06-21 11:47:01 +06:00
Nikolay Kim
75eec8bd4f
fix condition
2018-06-21 11:23:21 +06:00
Nikolay Kim
ebc59cf7b9
add unsafe checks #331
2018-06-21 11:20:21 +06:00
Nikolay Kim
c2c4a5ba3f
fix failure Send+Sync compatibility
2018-06-21 10:45:24 +06:00
Nikolay Kim
dbd093075d
Merge pull request #338 from tbroadley/fix-typos
...
Fix typos
2018-06-21 10:13:30 +06:00
Nikolay Kim
1be27e17f8
convert timer error to io error
2018-06-21 10:05:20 +06:00
Nikolay Kim
8b0fbb85d1
SendRequest execution fails with the entered unreachable code #329
2018-06-21 09:52:18 +06:00
Nikolay Kim
cfe6725eb4
Allow to disable masking for websockets client
2018-06-21 09:49:33 +06:00
Josh Leeb-du Toit
f815c1c096
Add test for default_resource scope propagation
2018-06-21 13:10:40 +10:00
Nikolay Kim
280eae4335
Merge pull request #334 from Vurich/master
...
Fix some unsoundness
2018-06-21 07:15:33 +06:00
Thomas Broadley
bd8cbfff35
docs: fix typos
2018-06-20 21:05:26 -04:00
Jef
234c60d473
Fix some unsoundness
...
This improves the sound implementation of `fn route`.
Previously this function would iterate twice but we
can reduce the overhead without using `unsafe`.
2018-06-20 10:53:18 +02:00
Nikolay Kim
2f917f3700
various cleanups and comments
2018-06-20 01:27:41 +06:00
Nikolay Kim
311f0b23a9
cleanup more code
2018-06-20 00:36:32 +06:00
Nikolay Kim
a69c1e3de5
remove unsafe from scope impl
2018-06-19 23:46:58 +06:00
Nikolay Kim
c427fd1241
Merge pull request #328 from xfix/remove-some-uses-of-unsafe-from-frame-message
...
Remove some uses of unsafe from Frame::message
2018-06-19 21:52:41 +06:00
Nikolay Kim
adcb4e1492
Merge pull request #327 from xfix/remove-use-of-unsafe-from-pipeline-poll
...
Remove use of unsafe from Pipeline#poll
2018-06-19 19:58:15 +06:00
Nikolay Kim
3b1124c56c
Merge branch 'master' into remove-some-uses-of-unsafe-from-frame-message
2018-06-19 19:20:40 +06:00
Nikolay Kim
cafde76361
Merge branch 'master' into remove-use-of-unsafe-from-pipeline-poll
2018-06-19 19:20:25 +06:00
Nikolay Kim
bfb93cae66
Update connector.rs
2018-06-19 19:19:31 +06:00
Nikolay Kim
b5c1e42feb
Merge branch 'master' into remove-use-of-unsafe-from-pipeline-poll
2018-06-19 18:30:37 +06:00
Konrad Borowski
e884e7e84e
Remove some uses of unsafe from Frame::message
2018-06-19 14:11:53 +02:00
Konrad Borowski
877e177b60
Remove use of unsafe from Pipeline#poll
2018-06-19 13:42:44 +02:00
Nikolay Kim
27b6af2800
refactor route matching
2018-06-19 16:45:26 +06:00
Nikolay Kim
5c42b0902f
better doc api examples
2018-06-19 12:07:07 +06:00
Nikolay Kim
247e8727cb
ClientBody is not needed
2018-06-19 10:15:16 +06:00
Nikolay Kim
362b14c2f7
remove unsafe cell from ws client
2018-06-19 09:36:17 +06:00
Nikolay Kim
261ad31b9a
remove some unsafe code
2018-06-19 07:44:01 +06:00
Nikolay Kim
68cd5bdf68
use actix 0.6
2018-06-18 09:18:03 +06:00
Nikolay Kim
26f37ec2e3
refactor HttpHandlerTask trait
2018-06-18 05:45:54 +06:00
Nikolay Kim
ef15646bd7
refactor edfault cpu pool
2018-06-18 04:56:18 +06:00
Nikolay Kim
a5bbc455c0
cleanup mut transform
2018-06-18 04:41:41 +06:00
Nikolay Kim
6ec8352612
method only for tests
2018-06-18 01:05:02 +06:00
Nikolay Kim
f0f19c14d2
remove wsclient
2018-06-18 01:03:47 +06:00
Nikolay Kim
daed502ee5
make mut api private
2018-06-18 01:03:07 +06:00
Nikolay Kim
9d114d785e
remove Clone from ExtractorConfig
2018-06-18 00:19:07 +06:00
Nikolay Kim
ea118edf56
do not use references in ConnectionInfo
2018-06-18 00:01:41 +06:00
Nikolay Kim
e1db47d550
refactor server settings
2018-06-17 23:51:20 +06:00
Nikolay Kim
38fe8bebec
fix doc string
2018-06-17 08:57:51 +06:00
Nikolay Kim
c3f295182f
use HashMap for HttpRequest::query()
2018-06-17 08:54:30 +06:00
Nikolay Kim
b6ed778775
remove HttpMessage::range()
2018-06-17 08:48:50 +06:00