1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00
Commit Graph

427 Commits

Author SHA1 Message Date
Nikolay Kim
ecfda64f6d add native-tls support 2018-09-27 20:40:34 -07:00
Nikolay Kim
9f1417af30 refactor http service builder 2018-09-27 18:33:29 -07:00
Nikolay Kim
6a61138bf8 enable ssl feature 2018-09-27 18:33:29 -07:00
Nikolay Kim
1907102685 switch to actix-net server 2018-09-27 18:33:29 -07:00
Nikolay Kim
52195bbf16 update version 2018-09-27 18:17:58 -07:00
Nikolay Kim
bbe69e5b8d update version 2018-09-15 10:00:54 -07:00
Nikolay Kim
70a3f317d3 fix failing requests to test server #508 2018-09-11 11:24:05 -07:00
Nikolay Kim
002bb24b26 unhide SessionBackend and SessionImpl traits and cleanup warnings 2018-09-07 20:46:43 -07:00
Nikolay Kim
42f3773bec update changes 2018-09-05 09:03:58 -07:00
Nikolay Kim
3fa23f5e10 update version 2018-08-31 17:25:15 -07:00
Nikolay Kim
810995ade0 fix tokio-tls dependency #480 2018-08-23 10:10:13 -07:00
Douman
986f19af86
Revert back to serde_urlencoded dependecy (#479) 2018-08-21 22:23:17 +03:00
Douman
56bc900a82
Set minimum rustls version that fixes corruption (#474) 2018-08-17 19:53:16 +03:00
Kornel
bdc9a8bb07 Optionally support tokio-uds's UnixStream as IoStream (#472) 2018-08-17 19:04:15 +03:00
Nikolay Kim
2e8d67e2ae upgrade native-tls package 2018-08-09 13:08:59 -07:00
Nikolay Kim
8c89c90c50 add accept backpressure #250 2018-08-02 23:17:10 -07:00
Nikolay Kim
972b008a6e remove unsafe error transmute, upgrade failure to 0.1.2 #434 2018-08-01 09:42:12 -07:00
Nikolay Kim
3bd43090fb use new gzdecoder, fixes gz streaming #228 2018-07-31 09:06:05 -07:00
Nikolay Kim
4c4d0d2745 update changes 2018-07-30 10:23:28 -07:00
Marat Safin
196da6d570 add rustls 2018-07-30 08:21:12 +03:00
Mateusz Mikuła
e408b68744 Update cookie dependency (#422) 2018-07-25 18:01:22 +03:00
Nikolay Kim
85b275bb2b fix warnings 2018-07-24 15:09:30 -07:00
Nikolay Kim
b79a9aaec7 fix changelog 2018-07-24 14:18:04 -07:00
Nikolay Kim
4862227df9 fix not implemented panic #410 2018-07-21 05:58:08 -07:00
Nikolay Kim
f6499d9ba5 publish stable docs on actix.rs site 2018-07-21 04:19:02 -07:00
Douman
7d753eeb8c
Private serde fork (#390)
* Fork serde_urlencoded

* Apply enum PR https://github.com/nox/serde_urlencoded/pull/30

* Add test to verify enum in query

* Docs are updated to show example of how to use enum.
2018-07-13 09:59:09 +03:00
Nikolay Kim
86e44de787 pin failure crate 2018-07-12 10:29:37 +06:00
Diggory Blake
85012f947a Remove reimplementation of LazyCell 2018-07-06 22:28:08 +01:00
Nikolay Kim
62ba01fc15 update changes 2018-07-06 15:00:14 +06:00
Nikolay Kim
ac3a76cd32 update httparse version 2018-07-05 13:21:33 +06:00
Nikolay Kim
d7762297da update actix dependency 2018-07-05 12:02:32 +06:00
Nikolay Kim
6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim
4c5a63965e use new actix context api 2018-07-04 17:04:23 +06:00
Gowee
0be5448597 Properly escape special characters in fs/directory_listing. (#355) 2018-06-30 15:01:48 +03:00
Nikolay Kim
40ca9ba9c5 simplify write buffer 2018-06-24 10:30:58 +06:00
Nikolay Kim
d1318a35a0 remove unnecessary unsafes 2018-06-23 10:29:23 +06:00
Nikolay Kim
4fadff63f4 Use Box::leak for dynamic param names 2018-06-23 09:57:03 +06:00
Armin Ronacher
7bc7b4839b
Switch from fnv to a identity hasher in extensions (#342) 2018-06-22 11:32:32 +02:00
Armin Ronacher
dda6ee95df
Changes the router to use atoms internally (#341) 2018-06-22 09:33:32 +02:00
Nikolay Kim
765c38e7b9 remove libc dependency 2018-06-22 11:47:33 +06:00
Nikolay Kim
58d1f4a4aa switch to actix master 2018-06-21 13:34:36 +06:00
Nikolay Kim
5c42b0902f better doc api examples 2018-06-19 12:07:07 +06:00
Nikolay Kim
68cd5bdf68 use actix 0.6 2018-06-18 09:18:03 +06:00
Nikolay Kim
ef15646bd7 refactor edfault cpu pool 2018-06-18 04:56:18 +06:00
Nikolay Kim
f0f19c14d2 remove wsclient 2018-06-18 01:03:47 +06:00
Nikolay Kim
b6ed778775 remove HttpMessage::range() 2018-06-17 08:48:50 +06:00
Nikolay Kim
879b2b5bde port Extensions from http crate #315 2018-06-17 03:22:08 +06:00
Nikolay Kim
2b616808c7 metadata for docs.rs 2018-06-05 09:00:21 -07:00
Nikolay Kim
690169db89 migrate to tokio 2018-05-24 21:03:16 -07:00
Nikolay Kim
bf63be3bcd bump version 2018-05-24 09:24:04 -07:00
Nikolay Kim
9f9e0b98ad change homepage link 2018-05-24 08:55:10 -07:00
Nikolay Kim
3b08b16c11 bump version 2018-05-23 13:21:54 -07:00
Nikolay Kim
76d790425f bump version 2018-05-21 19:07:56 -07:00
Nikolay Kim
14d1b8e2b6 prepare release 2018-05-20 21:09:54 -07:00
Nikolay Kim
9b7ea836d0 bump version 2018-05-17 18:34:09 -07:00
Nikolay Kim
03e758cee4 bump version 2018-05-15 19:08:34 -07:00
Nikolay Kim
d6787e6c56 prepare release 2018-05-15 10:20:32 -07:00
Nikolay Kim
9306631d6e Fix segfault in ServerSettings::get_response_builder() 2018-05-11 21:19:48 -07:00
Nikolay Kim
095ad328ee prepare release 2018-05-10 15:45:06 -07:00
Nikolay Kim
b043c34632 bump version 2018-05-09 06:05:44 -07:00
Nikolay Kim
47d80382b2 Fix http/2 payload streaming #215 2018-05-08 15:44:50 -07:00
Nikolay Kim
72908d974c test for Scope::route(); prep release 2018-05-07 15:19:03 -07:00
Nikolay Kim
f66cf16823 upgrade regex 2018-05-04 12:25:06 -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
c5b9bed478 update changes 2018-04-26 08:01:08 -07:00
Nikolay Kim
fa9edf2180 prep release 2018-04-24 12:34:10 -07:00
Nikolay Kim
5ca904d1db make flate crate optional 2018-04-24 12:24:04 -07:00
Nikolay Kim
b66566f610 comments 2018-04-24 09:32:19 -07:00
Nikolay Kim
2477afcf30 Allow to use rust backend for flate2 crate #199 2018-04-24 09:29:15 -07:00
Nikolay Kim
2adf8a3a48 add changelog entry 2018-04-21 07:56:11 -07:00
Nikolay Kim
01a0f3f5a0 remove unused dependency 2018-04-19 09:54:22 -07:00
Nikolay Kim
e9bdba57a0 Add identity service middleware 2018-04-18 19:05:24 -07:00
Nikolay Kim
65b8197876 better doc string for Application::with_state() 2018-04-17 13:59:55 -07:00
Nikolay Kim
79818560b2 cleanup doc strings; prepare release 2018-04-16 09:30:59 -07:00
Nikolay Kim
ebc1f6eff9 drop skeptic 2018-04-13 16:21:57 -07:00
Nikolay Kim
5e9ec4299c fix workspace links 2018-04-12 20:52:30 -07:00
Nikolay Kim
e05aba65de examples moved to separate repo 2018-04-12 20:31:58 -07:00
Nikolay Kim
83168731fc update user guide content compression section 2018-04-12 09:54:35 -07:00
Nikolay Kim
d18f9c5905 add clinet connector stats 2018-04-11 16:11:11 -07:00
Nikolay Kim
d041df6c4b update links 2018-04-10 19:27:09 -07:00
Nikolay Kim
bc28e54976 add homepage link 2018-04-10 19:20:21 -07:00
Nikolay Kim
88f66d49d0 openssl features 2018-04-10 11:07:54 -07:00
Nikolay Kim
d04ff13955 update version 2018-04-09 14:27:13 -07:00
Nikolay Kim
17c27ef42d HttpRequest::resource() returns current matched resource 2018-04-01 17:37:22 -07:00
Nikolay Kim
ae6c9cb7fa re-arrange exports, some doc string updates 2018-03-29 10:44:26 -07:00
Nikolay Kim
68cf32e848 add path and query extractors 2018-03-26 15:58:30 -07:00
Nikolay Kim
d46854b315 bump version 2018-03-22 21:16:42 -07:00
Nikolay Kim
35ee5d36d8 actix 0.5.5, ws test 2018-03-19 13:12:36 -07:00
Nikolay Kim
e0c8da567c various optimizations 2018-03-18 11:05:44 -07:00
Nikolay Kim
1fe4315c94 use actix 0.5.4 2018-03-16 13:37:47 -07:00
Nikolay Kim
381b90e9a1 bump version 2018-03-16 12:31:29 -07:00
Nikolay Kim
84bf282c17 add basic client connection pooling 2018-03-16 12:04:01 -07:00
Nikolay Kim
0f064db31d Move brotli encoding to a feature 2018-03-13 17:21:22 -07:00
Nikolay Kim
6657446433 Allow to set read buffer capacity for server request 2018-03-12 10:01:56 -07:00
Nikolay Kim
692e11a584 bump version 2018-03-11 16:40:25 -07:00
Nikolay Kim
db1e04e418 prepare release 2018-03-09 05:42:42 -08:00
Nikolay Kim
49e007ff2a move protobuf support to the example 2018-03-09 05:29:06 -08:00
Nikolay Kim
f3c63e631a add protobuf feature 2018-03-08 20:56:18 -08:00
kingxsp
a0b589eb96 Add protobuf support 2018-03-09 10:05:13 +08:00
Nikolay Kim
1ab676d7eb bump version and add some tests 2018-03-07 22:40:46 -08:00
Nikolay Kim
77a111b95c prepare release 2018-03-07 21:28:54 -08:00
Nikolay Kim
f55ef3a059 create default CpuPool 2018-03-07 14:56:53 -08:00
kindiana
04d0abb3c7 make session an optional feature 2018-03-07 15:38:58 +08:00
Nikolay Kim
d3c859f9f3 bump version 2018-03-06 22:44:06 -08:00
Glade Miller
e4ed53d691 Merge branch 'feature/allow_connection_timeout_to_be_set' of https://github.com/glademiller/actix-web into feature/allow_connection_timeout_to_be_set 2018-03-06 15:44:18 -07:00
Glade Miller
5bf4f3be8b Actix dependency needs to be updated to master 2018-03-06 15:43:56 -07:00
Nikolay Kim
32b5544ad9 port hyper header 2018-03-06 00:43:25 -08:00
Nikolay Kim
ea2a8f6908 add http proxy example 2018-03-05 11:12:19 -08:00
messense
c2741054bb
Add unix domain socket example 2018-03-05 22:14:25 +08:00
Nikolay Kim
f673dba759 Fix handling of requests with an encoded body with a length > 8192 #93 2018-03-04 09:48:34 -08:00
Nikolay Kim
327df159c6 prepare release 2018-03-03 18:46:22 -08:00
Nikolay Kim
791a980e2d update tests 2018-03-02 22:08:56 -08:00
Nikolay Kim
feba5aeffd bump version 2018-03-02 14:31:23 -08:00
Nikolay Kim
1fea4bd9a6 prepare release 2018-03-01 20:01:25 -08:00
Nikolay Kim
4aaf9f08f8 update readme 2018-02-28 22:31:54 -08:00
Nikolay Kim
d62d6e68e0 use new version of http crate 2018-02-28 14:16:55 -08:00
Nikolay Kim
67f33a4760 add redis session example 2018-02-28 10:26:40 -08:00
Nikolay Kim
764421fe44 update categories 2018-02-27 23:51:57 -08:00
pyros2097
1283c00583 add juniper example 2018-02-28 10:41:24 +05:30
Nikolay Kim
da76de76f0 upgrade sha crate 2018-02-27 20:32:51 -08:00
Nikolay Kim
6c480fae90 added HttpRequest::encoding() method; fix urlencoded parsing with charset 2018-02-27 11:31:54 -08:00
Nikolay Kim
644f1a9518 refactor ws frame parser 2018-02-26 13:58:23 -08:00
Nikolay Kim
4e41e13baf refactor client payload processing 2018-02-25 11:18:17 +03:00
Nikolay Kim
548f4e4d62 replace reqwest with actix::client 2018-02-19 13:18:18 -08:00
Nikolay Kim
0da382a7a4 use actix 0.5 release 2018-02-17 13:33:38 -08:00
Nikolay Kim
3c95823e53 add r2d2 example 2018-02-15 23:05:10 -08:00
Nikolay Kim
d31e71a169 update examples 2018-02-15 13:59:25 -08:00
Nikolay Kim
8c1b5fa945 sync with latest actix 2018-02-12 12:17:30 -08:00
Nikolay Kim
78da98a16d add wsload tool; optimize ws frame parser 2018-02-09 17:20:28 -08:00
Nikolay Kim
d0cbf7cd25 upgrade trust-dns-resolver 2018-02-07 14:58:08 -08:00
Nikolay Kim
e99a5e8144 drop local actix ref 2018-01-30 15:19:30 -08:00
Nikolay Kim
577f91206c added support for websocket testing 2018-01-30 15:13:33 -08:00
Nikolay Kim
a02e0dfab6 initial work on client connector 2018-01-29 23:01:20 -08:00
Nikolay Kim
5dd2e7523d basic websocket client 2018-01-27 22:03:03 -08:00
Nikolay Kim
d4bc3294a3 actix compatibility 2018-01-27 10:04:56 -08:00
Nikolay Kim
99bed67bec rename cors example 2018-01-26 19:52:20 -08:00
Nikolay Kim
52a454800f cleanup cors example 2018-01-26 19:51:13 -08:00
Nikolay Kim
e8e2ca1526 refactor alpn support; upgrade openssl to 0.10 2018-01-25 10:24:04 -08:00
Nikolay Kim
35efd017bb impl waiting for HttpContext 2018-01-23 09:42:04 -08:00
Nikolay Kim
1053c44326 pin new actix version 2018-01-22 17:01:54 -08:00
Nikolay Kim
2227120ae0 exclude examples 2018-01-21 09:09:19 -08:00
Nikolay Kim
7cf221f767 Log request processing errors 2018-01-20 20:12:24 -08:00
Nikolay Kim
3425f7be40 fix tests 2018-01-14 14:58:58 -08:00
Nikolay Kim
b805d87ee7 no need for custom cookie module 2018-01-13 11:33:42 -08:00
Nikolay Kim
bc6bb9984f user guide spelling 2018-01-13 11:17:48 -08:00
Nikolay Kim
3105bca13b use cookie-rs released create 2018-01-12 12:32:54 -08:00
Nikolay Kim
c470e7a02b use flate2 released crate 2018-01-12 12:31:33 -08:00
Nikolay Kim
fa93701bee upgrade packages 2018-01-11 16:47:55 -08:00
Nikolay Kim
49cdddf479 upgrade flate package 2018-01-10 20:28:06 -08:00
Nikolay Kim
f90bc0caae do no stop on write_eof 2018-01-07 19:10:42 -08:00
Nikolay Kim
71da72efdb use general context impl 2018-01-06 22:59:39 -08:00
Nikolay Kim
247c23c1ea no need for StreamHandler 2018-01-06 01:06:35 -08:00
Nikolay Kim
3ed9e872ad subscriber to os signals automatically 2018-01-05 16:32:36 -08:00
Nikolay Kim
473ec38439 use dev cookies package as temp solution for ring problem 2018-01-05 14:50:33 -08:00
Nikolay Kim
5ff35f5b99 upgrade to actix 0.4 2018-01-05 13:30:21 -08:00
Nikolay Kim
3a59344ffb update h2 lib 2018-01-02 19:37:33 -08:00
Nikolay Kim
fb2c78d9fc add hello-world example 2018-01-02 13:42:30 -08:00
Nikolay Kim
284b59722a update websocket example 2018-01-01 09:31:42 -08:00
Nikolay Kim
f3a90a2829 add example to workspace 2017-12-31 22:22:56 -08:00
Nikolay Kim
d2f54b7d19 use workspace 2017-12-31 21:55:25 -08:00
Nikolay Kim
d80a0c9f94 add support for unix signals 2017-12-28 11:36:20 -08:00
Nikolay Kim
0589f2ee49 add server management commands 2017-12-27 12:58:32 -08:00
Nikolay Kim
da8aa8b988 use mio for accept loop 2017-12-27 11:22:27 -08:00
Nikolay Kim
e05596b65d upgrade actix min version 2017-12-20 11:37:27 -08:00
Nikolay Kim
27d92f3a23 refactor server bind and start process 2017-12-17 12:35:04 -08:00
Nikolay Kim
4b421b44a2 add mit license 2017-12-17 10:08:44 -08:00
Nikolay Kim
d4187f682b various cleanups 2017-12-13 11:10:03 -08:00
Nikolay Kim
ab6efd2421 handle http connections in different threads 2017-12-12 17:21:00 -08:00
Nikolay Kim
b71ddf7b4c pass local addr to channel; use bitflags 2017-12-07 21:52:46 -08:00
Nikolay Kim
968f5d39d6 added external resources; refactor route recognizer 2017-12-07 16:22:26 -08:00
Nikolay Kim
f0c346f18c handler info 2017-12-01 21:29:22 -08:00
Nikolay Kim
3fcd5f6935 use http::Uri for uri parsing 2017-11-30 19:01:25 -08:00
Nikolay Kim
59b8214685 better nightly detection 2017-11-24 10:28:43 -08:00
Nikolay Kim
f33c489154 added default ErrorResponse for std::error::Error 2017-11-24 10:03:13 -08:00
Nikolay Kim
fd3dcdf0f6 use failure from crates 2017-11-18 06:50:56 -10:00
Nikolay Kim
de71ad7de4 refactor error handling 2017-11-15 20:06:28 -10:00
Nikolay Kim
be3a1ab770 use remote addr in logger if available 2017-11-10 13:26:12 -08:00
Nikolay Kim
2a319d733f enable secure cookies 2017-11-08 20:57:59 -08:00
Nikolay Kim
4d575c6269 update readme 2017-11-08 20:25:14 -08:00
Nikolay Kim
e558414867 add response content encoding 2017-11-08 16:44:46 -08:00
Nikolay Kim
6974213036 use new brotli2 version 2017-11-07 15:59:37 -08:00
Nikolay Kim
994d0afd80 allow to set/change responses content encoding 2017-11-06 14:56:38 -08:00
Nikolay Kim
c2978a6eea add content encoding decompression 2017-11-06 01:27:46 -08:00
Nikolay Kim
d7d3d663e9 refactor server impl and add support for alpn http2 negotiation 2017-11-04 12:33:14 -07:00
Nikolay Kim
32cefb8455 implement h2 writer 2017-11-04 09:07:44 -07:00
Nikolay Kim
4add742aba refactor task impl, extract stream writer to separate struct 2017-11-03 13:48:00 -07:00
Nikolay Kim
f010672885 rename modules 2017-11-03 13:48:00 -07:00
Nikolay Kim
ec3b139273 Allow to start tls server with HttpServer::serve_tls 2017-11-01 16:34:58 -07:00
Nikolay Kim
a12e5e9cf5 bump version 2017-10-30 20:46:39 -07:00
Nikolay Kim
ba689fd4cd badge 2017-10-30 20:42:54 -07:00
Nikolay Kim
f35a3ea6db prepare release 2017-10-30 20:39:56 -07:00
Nikolay Kim
58de9dcf56 added new cancel_future_on_stop 2017-10-30 14:49:20 -07:00
Nikolay Kim
af1e0bac08 add HttpContext::drain() 2017-10-29 06:05:31 -07:00
Nikolay Kim
d93244aa4f Do not use as it can not parse some valid paths 2017-10-27 22:19:00 -07:00
Nikolay Kim
488fb256b4 add optional skeptic 2017-10-26 06:12:23 -07:00
Nikolay Kim
86583049fa Fix disconnection handling 2017-10-25 16:25:26 -07:00
Nikolay Kim
da79981d90 update actix 2017-10-24 20:24:14 -07:00
Nikolay Kim
1aac83ac96 more body conversion impls 2017-10-23 23:44:03 -07:00
Nikolay Kim
183fe9aebb set env_logger version 2017-10-23 16:07:44 -07:00
Nikolay Kim
acaf397350 disable h2 for release 2017-10-23 16:04:31 -07:00
Nikolay Kim
ba504cc69e use actix 0.3 2017-10-23 10:05:07 -07:00
Nikolay Kim
3f6949baa9 update repo location 2017-10-23 09:16:13 -07:00
Nikolay Kim
f737a3eb3e different ports 2017-10-22 21:52:01 -07:00
Nikolay Kim
26989f5591 server tests 2017-10-22 12:48:43 -07:00
Nikolay Kim
f85925a652 refactor error handling 2017-10-22 09:13:29 -07:00
Nikolay Kim
afe9459ce1 pass request by ref; added middleware support 2017-10-21 22:59:59 -07:00
Nikolay Kim
56c91adce2 add websocket example 2017-10-20 17:16:17 -07:00
Nikolay Kim
1db4200621 drop skeptic for now 2017-10-19 16:41:21 -07:00
Nikolay Kim
24804250a8 update multipart impl 2017-10-19 16:22:21 -07:00
Nikolay Kim
aaef550bc5 multipart implementation 2017-10-18 23:43:50 -07:00
Nikolay Kim
264380bf33 add multipart and urlencoded bodies support 2017-10-17 16:46:57 -07:00
Nikolay Kim
fb92d5552d update actix 2017-10-17 14:44:00 -07:00
Nikolay Kim
e55e08d204 appveyor support 2017-10-16 19:34:04 -07:00
Nikolay Kim
f59f68eded new router recognizer 2017-10-16 19:21:24 -07:00
Nikolay Kim
ba1a73443e added StaticFiles basic impl 2017-10-16 01:19:23 -07:00
Nikolay Kim
41f1e6cdc9 split http request; add HttpRequest::range() 2017-10-14 22:52:38 -07:00
Nikolay Kim
95987daa72 rename to actix-web 2017-10-14 07:59:35 -07:00
Nikolay Kim
eedef6633c test placeholder 2017-10-14 01:45:23 -07:00
Nikolay Kim
86d9e9051d do not use skeptic tests for cov report 2017-10-14 01:36:39 -07:00
Nikolay Kim
0447c66de1 simplify Frame::Message; impl Try for Reply 2017-10-13 14:43:17 -07:00
Nikolay Kim
676347d7f6 drop hyper 2017-10-09 23:07:32 -07:00
Nikolay Kim
e398694bdb drop unused code 2017-10-08 17:47:41 -07:00
Nikolay Kim
63b78b6461 better naming 2017-10-08 14:56:51 -07:00
Nikolay Kim
f2d20514fa websocket support 2017-10-07 21:48:00 -07:00
Nikolay Kim
0b5f0c4f22 initial implementation 2017-10-06 21:51:27 -07:00
Nikolay Kim
8dd79b577d do not run clippy on travis 2017-09-30 09:23:53 -07:00
Nikolay Kim
5b6f5d8ce3 prep work 2017-09-30 09:10:03 -07:00