Commit Graph

80 Commits

Author SHA1 Message Date
Nikolay Kim f3f1e04853 refactor ssl support 2018-08-03 16:09:46 -07:00
Nikolay Kim 8c89c90c50 add accept backpressure #250 2018-08-02 23:17:10 -07:00
Nikolay Kim 58230b15b9 use one thread for accept loop; refactor rust-tls support 2018-07-31 19:51:26 -07:00
Nikolay Kim 7bc0ace52d move server accept impl to seprate module 2018-07-30 13:42:42 -07:00
Marat Safin 196da6d570 add rustls 2018-07-30 08:21:12 +03:00
Nikolay Kim 9aef34e768 remove & to &mut transmute #385 2018-07-11 12:56:35 +06:00
Douman 82920e1ac1
Do not override user settings on signals and stop handling (#375) 2018-07-08 09:01:44 +03:00
Nikolay Kim 6af2f5d642 re-enable start_incoming support 2018-07-05 12:14:10 +06:00
Nikolay Kim 6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim 58d1f4a4aa switch to actix master 2018-06-21 13:34:36 +06:00
Nikolay Kim 261ad31b9a remove some unsafe code 2018-06-19 07:44:01 +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 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 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 285c73e95e Re-use tcp listener on pause/resume 2018-05-20 20:47:20 -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 45e9aaa462 rustfmt 0.7 2018-05-17 12:20:20 -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 195246573e rename threads to workers 2018-05-01 13:15:35 -07:00
Nikolay Kim d43ca96c5c Allow to use ssl and non-ssl connections with the same HttpServer #206 2018-04-30 19:51:55 -07:00
Nikolay Kim c72d1381a6 clippy warnings 2018-04-29 09:09:08 -07:00
Nikolay Kim de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00
Nikolay Kim 691457fbfe update tests 2018-04-06 09:45:10 -07:00
Nikolay Kim 3ee228005d rename Application 2018-03-31 00:16:55 -07:00
Nikolay Kim 44e3df82f6 simplify http response construction; deprecate httpcodes 2018-03-30 23:07:33 -07:00
Nikolay Kim a56e5113ee process transfer-encoding before content-length, fix tests on 32bit platform 2018-03-24 09:22:34 -07:00
Nikolay Kim 449709dd7e add 0.5 sec deley before exit 2018-03-22 18:41:02 -07:00
Nikolay Kim e0c8da567c various optimizations 2018-03-18 11:05:44 -07:00
Nikolay Kim 84bf282c17 add basic client connection pooling 2018-03-16 12:04:01 -07:00
Nikolay Kim b15b5e5246 check number of available workers 2018-03-16 11:17:27 -07:00
Nikolay Kim 4096089a3f allow to disable http/2 support 2018-03-16 08:48:44 -07:00
Nikolay Kim 6657446433 Allow to set read buffer capacity for server request 2018-03-12 10:01:56 -07:00
Nikolay Kim 31e1aab9a4 do not log WouldBlock error from socket accept 2018-03-12 09:02:15 -07:00
Nikolay Kim 49f5c335f6 better sleep on error 2018-03-11 16:52:20 -07:00
messense 9ab0fa604d
Use Vec instead of HashMap to store sockets in HttpServer 2018-03-11 17:29:44 +08:00
messense 9a404a0c03
Impl From<usize> and From<Option<usize>> for KeepAlive 2018-03-10 17:52:50 +08:00