Nikolay Kim
fc7238baee
refactor read_from_io
2018-06-22 11:30:40 +06:00
Nikolay Kim
edd22bb279
refactor read_from_io
2018-06-22 09:01:20 +06:00
Nikolay Kim
17c033030b
Revert "remove unnecessary use of unsafe in read_from_io"
...
This reverts commit da237611cb
.
2018-06-22 08:55:19 +06:00
Nikolay Kim
3afdf3fa7e
Merge pull request #335 from gnzlbg/fix_unsafe
...
remove unnecessary use of unsafe in read_from_io
2018-06-22 07:23:14 +06:00
Nikolay Kim
3de9284592
Handler::handle uses &self instead of mutabble reference
2018-06-21 17:07:54 +06:00
Nikolay Kim
58d1f4a4aa
switch to actix master
2018-06-21 13:34:36 +06:00
gnzlbg
da237611cb
remove unnecessary use of unsafe in read_from_io
2018-06-20 13:14:53 +02: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
a69c1e3de5
remove unsafe from scope impl
2018-06-19 23:46:58 +06:00
Nikolay Kim
261ad31b9a
remove some unsafe code
2018-06-19 07:44:01 +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
e1db47d550
refactor server settings
2018-06-17 23:51:20 +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
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
8261cf437d
update actix api
2018-06-13 23:37:19 -07:00
Nikolay Kim
99092fdf06
http/2 end-of-frame is not set if body is empty bytes #307
2018-06-12 14:50:21 -07:00
Nikolay Kim
818d0bc187
new StreamHandler impl
2018-06-09 07:53:46 -07:00
Pascal Hertleif
890a7e70d6
Add missing API docs
...
These were written without much knowledge of the actix-web internals!
Please review carefully!
2018-06-02 15:52:50 +02:00
Nikolay Kim
c8930b7b6b
fix rustfmt formatting
2018-06-01 10:27:23 -07:00
Nikolay Kim
154cd3c5de
better actix mod re-exports
2018-06-01 09:36:16 -07:00
Douman
80965d7a9a
Re-export actix dependency. Closes #260 ( #264 )
...
- Re-export actix's prelude into actix namespace
- Removing implicit dependency on root's actix module
2018-05-31 20:43:14 +03:00
Nikolay Kim
a64205e502
refactor TransferEncoding; allow to use client api with threaded tokio runtime
2018-05-29 16:32:39 -07:00
Nikolay Kim
844be8d9dd
fix ssl test server
2018-05-29 10:59:24 -07:00
Nikolay Kim
ecd05662c0
use new actix system api
2018-05-29 10:31:37 -07:00
Nikolay Kim
be2ceb7c66
update actix Addr; make ClientConnector thread safe
2018-05-27 05:02:49 -07:00
Nikolay Kim
690169db89
migrate to tokio
2018-05-24 21:03:16 -07:00
Nikolay Kim
68eb2f26c9
Allow to use path without traling slashes for scope registration #241
2018-05-23 13:21:29 -07:00
Nikolay Kim
2159158c30
Fix streaming response with body compression
2018-05-21 20:50:10 -07:00
Nikolay Kim
90968d4333
Drop connection if request's payload is not fulle consumed #236
2018-05-21 18:54:17 -07:00
Nikolay Kim
285c73e95e
Re-use tcp listener on pause/resume
2018-05-20 20:47:20 -07:00
Nikolay Kim
483db7028c
expose low level data
2018-05-20 20:37:19 -07:00
Sindre Johansen
0126ac46fc
Fix some typos in server/srv.rs
...
Hello! This looks like a great library, thanks for creating it! While reading through the documentation I found a few typos.
2018-05-20 14:43:26 +02:00
Nikolay Kim
537b420d35
Fix compilation with --no-default-features
2018-05-17 18:33:48 -07:00
Nikolay Kim
16906c5951
clippy warnings
2018-05-17 12:23:37 -07:00
Nikolay Kim
45e9aaa462
rustfmt 0.7
2018-05-17 12:20:20 -07:00
Nikolay Kim
f3ece74406
better error handling
2018-05-17 10:58:08 -07:00
Armin Ronacher
7bb7d85c1d
Added support for returning addresses plus scheme from the server
2018-05-16 16:17:27 +02:00
Armin Ronacher
6e976153e7
Add support for listen_tls/listen_ssl
2018-05-16 15:20:47 +02:00
Nikolay Kim
0d36b8f826
fix 1.24 compatibility
2018-05-15 19:07:43 -07:00
Nikolay Kim
f82fa08d72
various optimizations
2018-05-15 16:49:03 -07:00
Nikolay Kim
953a0d4e4a
add test case for #222
2018-05-15 09:29:59 -07:00
Nikolay Kim
5ea2d68438
h1 decoder blocks on error #222
2018-05-15 07:55:36 -07:00
Nikolay Kim
9306631d6e
Fix segfault in ServerSettings::get_response_builder()
2018-05-11 21:19:48 -07:00
Nikolay Kim
47d80382b2
Fix http/2 payload streaming #215
2018-05-08 15:44:50 -07:00
Nikolay Kim
fa81d97004
more handler tests
2018-05-06 20:05:31 -07:00
Nikolay Kim
c54f045b39
more handler tests
2018-05-06 15:11:36 -07:00