{"id":55358,"date":"2020-01-18T00:00:00","date_gmt":"2020-01-17T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli"},"modified":"2020-02-18T14:03:28","modified_gmt":"2020-02-18T11:03:28","slug":"razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","status":"publish","type":"post","link":"https:\/\/prohoster.info\/cs\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","title":{"rendered":"V\u00fdvoj\u00e1\u0159 Rust frameworku actix-web odstranil repozit\u00e1\u0159 kv\u016fli \u0161ikan\u011b","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Autor napsan\u00e9ho webov\u00e9ho frameworku v jazyce Rust <noindex><a rel=\"nofollow\" href=\"https:\/\/crates.io\/crates\/actix-web\">actix-web<\/a><\/noindex> odstranil <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">repuzit\u00e1\u0159e<\/a><\/noindex> po kritice za &#171;nep\u0159esn\u00e9 pou\u017eit\u00ed&#187; jazyka Rust. Framework actix-web, bal\u00ed\u010dek, kter\u00fd byl sta\u017een v\u00edce ne\u017e 800 tis\u00edckr\u00e1t, umo\u017e\u0148uje integrovat do aplikac\u00ed v jazyce Rust funk\u010dnost http-serveru a klienta, a p\u0159i v\u00fdvoji se zam\u011b\u0159uje na maxim\u00e1ln\u00ed v\u00fdkon a <noindex><a rel=\"nofollow\" href=\"https:\/\/www.techempower.com\/benchmarks\/\">vede<\/a><\/noindex> v mnoha testech webov\u00fdch framework\u016f.<\/p>\n<p>Kr\u00e1tce p\u0159ed incidentem bylo na issues na GitHubu hl\u00e1\u0161eno o zji\u0161t\u011bn\u00ed neur\u010dit\u00e9ho chov\u00e1n\u00ed (Undefined Behaviour) v k\u00f3du serveru actix-web, kter\u00e9 se vyskytuje ve bloku prov\u00e1d\u011bn\u00e9m v re\u017eimu <noindex><a rel=\"nofollow\" href=\"http:\/\/rustbook.ru\/ch19-01-unsafe-rust.html\">unsafe<\/a><\/noindex> (povoluje prov\u00e1d\u011bn\u00ed nebezpe\u010dn\u00fdch operac\u00ed s ukazateli). Autor actix-web se rozhodl neodstranit blok unsafe, ale p\u0159epracoval vol\u00e1n\u00ed tohoto bloku tak, aby se neur\u010dit\u00e9 chov\u00e1n\u00ed nevyskytovalo. N\u00e1vrhy na odstran\u011bn\u00ed unsafe autor odm\u00edtl s odkazem na mo\u017enou ztr\u00e1tu v\u00fdkonu a uvedl, \u017ee unsafe nepou\u017e\u00edv\u00e1 bez pot\u0159eby a je si jist\u00fd bezpe\u010dnost\u00ed pracuj\u00edc\u00edch blok\u016f v tomto re\u017eimu.<\/p>\n<p>\u00da\u010dastn\u00edk t\u00fdmu RustSec, kter\u00fd zjistil neur\u010dit\u00e9 chov\u00e1n\u00ed, nesouhlasil a nazna\u010dil, \u017ee pou\u017eit\u00ed mnoha unsafe blok\u016f v actix-web je neopodstatn\u011bn\u00e9. Pot\u00e9 publikoval<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@shnatsel\/smoke-testing-rust-http-clients-b8f2ee5db4e6\">\u010dl\u00e1nek<\/a><\/noindex> o nep\u0159ijatelnosti pou\u017eit\u00ed unsafe, kde bylo mimo jin\u00e9 zm\u00edn\u011bno, \u017ee pou\u017eit\u00e1 metoda pr\u00e1ce s ukazateli ( n\u011bkolik m\u011bniteln\u00fdch ukazatel\u016f na stejn\u00e1 data) m\u016f\u017ee potenci\u00e1ln\u011b zp\u016fsobit vznik zranitelnost\u00ed use-after-free a neodpov\u00edd\u00e1 v\u00fdvojov\u00e9 paradigm\u011b jazyka Rust. <\/p>\n<p>Po <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/comments\/epoloy\/ive_smoketested_rust_http_clients_heres_what_i\/\">diskuze<\/a><\/noindex> \u010dl\u00e1nky na <noindex><a rel=\"nofollow\" href=\"https:\/\/www.reddit.com\/r\/rust\/\">Reddit<\/a><\/noindex>, v issues na GitHubu <noindex><a rel=\"nofollow\" href=\"https:\/\/words.steveklabnik.com\/a-sad-day-for-rust\">se nahrnuli<\/a><\/noindex> trolov\u00e9 a autor actix-web byl vystaven <noindex><a rel=\"nofollow\" href=\"https:\/\/gist.github.com\/pcr910303\/d7722a26499d0e9d2f9034a06f2433b4\">povodni kritiky<\/a><\/noindex> a ur\u00e1\u017ek\u00e1m za nespr\u00e1vn\u00e9 pou\u017eit\u00ed Rustu. Autor nevydr\u017eel psychick\u00fd tlak, <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/actix\/actix-web\">odstranil repozit\u00e1\u0159<\/a><\/noindex> a <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/fafhrd91\/status\/1218135374339301378\">napsal<\/a><\/noindex>, co\u017e ukon\u010dilo jeho \u010dinnost v Open Source.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Zdroj: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52208\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043d\u0430 \u043d\u0435\u0433\u043e \u043e\u0431\u0440\u0443\u0448\u0438\u043b\u0430\u0441\u044c \u043a\u0440\u0438\u0442\u0438\u043a\u0430 \u0437\u0430 &#171;\u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435&#187; \u044f\u0437\u044b\u043a\u0430 Rust. \u0424\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a actix-web, \u043f\u0430\u043a\u0435\u0442 \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c \u0431\u044b\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0431\u043e\u043b\u0435\u0435 800 \u0442\u044b\u0441\u044f\u0447 \u0440\u0430\u0437, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c http-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0438 \u043a\u043b\u0438\u0435\u043d\u0442\u0430, \u043f\u0440\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d \u043d\u0430 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0438 \u043b\u0438\u0434\u0438\u0440\u0443\u0435\u0442 \u0432\u043e \u043c\u043d\u043e\u0433\u0438\u0445 \u0442\u0435\u0441\u0442\u0430\u0445 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-55358","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.3 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/cs\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.3\" \/>\n\t\t<meta property=\"og:locale\" content=\"cs_CZ\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/cs\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-01-17T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:03:28+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47 V\u00fdvoj\u00e1\u0159 Rust frameworku actix-web odstranil repozit\u00e1\u0159 kv\u016fli obt\u011b\u017eov\u00e1n\u00ed | ProHoster","description":"Autor napsan\u00e9ho webov\u00e9ho frameworku v jazyce Rust actix-web odstranil","canonical_url":"https:\/\/prohoster.info\/cs\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"cs_CZ","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a Rust-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 \u0438\u0437-\u0437\u0430 \u0442\u0440\u0430\u0432\u043b\u0438 | ProHoster","og:description":"\u0410\u0432\u0442\u043e\u0440 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u044f\u0437\u044b\u043a\u0435 Rust web-\u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u0430 actix-web \u0443\u0434\u0430\u043b\u0438\u043b","og:url":"https:\/\/prohoster.info\/cs\/blog\/news\/razrabotchik-rust-frejmvorka-actix-web-udalil-repozitorij-iz-za-travli","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-01-17T21:00:00+00:00","article:modified_time":"2020-02-18T11:03:28+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"55358","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:45:29","updated":"2022-09-30 12:43:21","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/55358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/comments?post=55358"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/posts\/55358\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/media?parent=55358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/categories?post=55358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/cs\/wp-json\/wp\/v2\/tags?post=55358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}