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
Brian Olsen
488b7bf653
Add test and fix for panic in Bearer::to_bytes ( #1 )
2018-06-18 10:21:20 +03: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
Nikolay Kim
0f2aac1a27
remove unneed Send and Sync
2018-06-17 08:32:22 +06:00
Nikolay Kim
70244c29e0
update doc api examples
2018-06-17 04:09:07 +06:00
Nikolay Kim
a7a062fb68
clippy warnings
2018-06-17 03:26:34 +06:00
Nikolay Kim
f3a73d7dde
update changelog
2018-06-17 03:24:08 +06:00
Nikolay Kim
879b2b5bde
port Extensions from http crate #315
2018-06-17 03:22:08 +06:00
Nikolay Kim
33050f55a3
remove Context::actor() method
2018-06-17 03:10:44 +06:00
Nikolay Kim
e4443226f6
update actix usage
2018-06-17 02:58:56 +06:00
Nikolay Kim
342a194605
fix handling ServerCommand #316
2018-06-16 22:56:27 +06:00
Nikolay Kim
566b16c1f7
Merge branch 'master' of github.com:actix/actix-web
2018-06-14 11:42:27 +02:00
Nikolay Kim
8261cf437d
update actix api
2018-06-13 23:37:19 -07:00
Özgür Akkurt
8a8e6add08
Merge pull request #314 from DJMcNab/app-cleanup
...
remove duplication of `App::with_state` in `App::new`
2018-06-14 01:19:56 +03:00
Özgür Akkurt
b79307cab1
Merge branch 'master' into app-cleanup
2018-06-14 01:01:11 +03:00
Özgür Akkurt
4c646962a9
Merge pull request #312 from eddomuke/master
...
Add HttpMessage::readlines()
2018-06-14 00:40:29 +03:00
Dursun Akkurt
cb77f7e688
Add HttpMessage::readlines()
2018-06-14 00:19:48 +03:00
Dursun Akkurt
1bee528018
move ReadlinesError to error module
2018-06-13 22:59:36 +03:00
Dursun Akkurt
ad9aacf521
change poll method of Readlines
2018-06-13 22:41:35 +03:00
Daniel McNab
f8854f951c
remove duplication of App::with_state
in App::new
2018-06-13 20:31:20 +01:00
Dursun Akkurt
6d95e34552
add HttpMessage::readlines()
2018-06-13 20:45:31 +03:00
Dursun Akkurt
6c765739d0
add HttpMessage::readlines()
2018-06-13 20:43:03 +03:00