{"action":"created","issue":{"url":"https://api.github.com/repos/monkey/monkey/issues/226","labels_url":"https://api.github.com/repos/monkey/monkey/issues/226/labels{/name}","comments_url":"https://api.github.com/repos/monkey/monkey/issues/226/comments","events_url":"https://api.github.com/repos/monkey/monkey/issues/226/events","html_url":"https://github.com/monkey/monkey/issues/226","id":121896860,"number":226,"title":"tls + fastcgi crashed","user":{"login":"J-Siu","id":3171920,"avatar_url":"https://avatars.githubusercontent.com/u/3171920?v=3","gravatar_id":"","url":"https://api.github.com/users/J-Siu","html_url":"https://github.com/J-Siu","followers_url":"https://api.github.com/users/J-Siu/followers","following_url":"https://api.github.com/users/J-Siu/following{/other_user}","gists_url":"https://api.github.com/users/J-Siu/gists{/gist_id}","starred_url":"https://api.github.com/users/J-Siu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/J-Siu/subscriptions","organizations_url":"https://api.github.com/users/J-Siu/orgs","repos_url":"https://api.github.com/users/J-Siu/repos","events_url":"https://api.github.com/users/J-Siu/events{/privacy}","received_events_url":"https://api.github.com/users/J-Siu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-13T04:00:35Z","updated_at":"2015-12-14T03:33:21Z","closed_at":"2015-12-14T03:30:31Z","body":"http to static and fastcgi work\r\nhttps to static work\r\nhttps to fastcgi crashed\r\n\r\n```\r\n/monkey/build$ ./monkey \r\nMonkey HTTP Server v1.7.0\r\nBuilt : Dec 12 2015 22:38:06 (/usr/bin/cc 5.2.1)\r\nHome  : http://monkey-project.com\r\n[+] Process ID is 23093\r\n[+] Server listening on 0.0.0.0:2001\r\n[+] Server listening on 0.0.0.0:2443\r\n[+] 4 threads, may handle up to 1024 client connections\r\n[+] Loaded Plugins: liana fastcgi tls \r\n[+] Linux Features: TCP_FASTOPEN SO_REUSEPORT \r\n[2015/12/12 22:44:40] [   Info] HTTP Server started\r\nIOV_IDX=62 > IO_SIZE=61\r\n\r\n[index=0 len=16]\r\n'[end=16]\r\n\r\n[index=1 len=10]\r\n'\r\n '[end=10]\r\n\r\n[index=2 len=15]\r\n'SERVER_SOFTWARE'[end=15]\r\n\r\n[index=3 len=12]\r\n'Monkey/1.7.0'[end=12]\r\n\r\n[index=4 len=10]\r\n'\r\n \t'[end=10]\r\n\r\n[index=5 len=11]\r\n'SERVER_NAME'[end=11]\r\n\r\n[index=6 len=9]\r\n'127.0.0.1'[end=9]\r\n\r\n[index=7 len=10]\r\n'[end=10]\r\n\r\n[index=8 len=13]\r\n'DOCUMENT_ROOT'[end=13]\r\n\r\n[index=9 len=25]\r\n'/home/john/monkey/htdocs/'[end=25]\r\n\r\n[index=10 len=10]\r\n'\r\n'[end=10]\r\n\r\n[index=11 len=11]\r\n'SERVER_ADDR'[end=11]\r\n\r\n[index=12 len=13]\r\n'192.168.0.114'[end=13]\r\n\r\n[index=13 len=10]\r\n'\r\n '[end=10]\r\n\r\n[index=14 len=11]\r\n'SERVER_PORT'[end=11]\r\n\r\n[index=15 len=4]\r\n'2443'[end=4]\r\n\r\n[index=16 len=10]\r\n'\r\n'[end=10]\r\n\r\n[index=17 len=11]\r\n'REMOTE_ADDR'[end=11]\r\n\r\n[index=18 len=13]\r\n'192.168.0.100'[end=13]\r\n\r\n[index=19 len=10]\r\n'\r\n '[end=10]\r\n\r\n[index=20 len=11]\r\n'REMOTE_PORT'[end=11]\r\n\r\n[index=21 len=5]\r\n'53392'[end=5]\r\n\r\n[index=22 len=10]\r\n'4#'[end=10]\r\n\r\n[index=23 len=15]\r\n'SCRIPT_FILENAME'[end=15]\r\n\r\n[index=24 len=35]\r\n'/home/john/monkey/htdocs//hello.php'[end=35]\r\n\r\n[index=25 len=10]\r\n'\r\n\r\n'[end=10]\r\n\r\n[index=26 len=11]\r\n'SCRIPT_NAME'[end=11]\r\n\r\n[index=27 len=10]\r\n'/hello.php'[end=10]\r\n\r\n[index=28 len=10]\r\n''[end=10]\r\n\r\n[index=29 len=14]\r\n'REQUEST_METHOD'[end=14]\r\n\r\n[index=30 len=3]\r\n'GET'[end=3]\r\n\r\n[index=31 len=10]\r\n'\r\n\r\n'[end=10]\r\n\r\n[index=32 len=11]\r\n'REQUEST_URI'[end=11]\r\n\r\n[index=33 len=10]\r\n'/hello.php'[end=10]\r\n\r\n[index=34 len=10]\r\n'\r\n '[end=10]\r\n\r\n[index=35 len=12]\r\n'QUERY_STRING'[end=12]\r\n\r\n[index=36 len=7]\r\n't-Encod'[end=7]\r\n\r\n[index=37 len=10]\r\n'\t'[end=10]\r\n\r\n[index=38 len=9]\r\n'HTTP_HOST'[end=9]\r\n\r\n[index=39 len=6]\r\n'u64s04'[end=6]\r\n\r\n[index=40 len=10]\r\n'[end=10]\r\n\r\n[index=41 len=20]\r\n'HTTP_ACCEPT_ENCODING'[end=20]\r\n\r\n[index=42 len=13]\r\n'gzip, deflate'[end=13]\r\n\r\n[index=43 len=10]\r\n'L\r\n  ?'[end=10]\r\n\r\n[index=44 len=11]\r\n'HTTP_ACCEPT'[end=11]\r\n\r\n[index=45 len=63]\r\n'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'[end=63]\r\n\r\n[index=46 len=10]\r\n'?t'[end=10]\r\n\r\n[index=47 len=15]\r\n'HTTP_USER_AGENT'[end=15]\r\n\r\n[index=48 len=116]\r\n'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9'[end=116]\r\n\r\n[index=49 len=10]\r\n'[end=10]\r\n\r\n[index=50 len=20]\r\n'HTTP_ACCEPT_LANGUAGE'[end=20]\r\n\r\n[index=51 len=5]\r\n'en-us'[end=5]\r\n\r\n[index=52 len=10]\r\n'\r\n'[end=10]\r\n\r\n[index=53 len=8]\r\n'HTTP_DNT'[end=8]\r\n\r\n[index=54 len=1]\r\n'1'[end=1]\r\n\r\n[index=55 len=10]\r\n'\r\n[end=10]\r\n\r\n[index=56 len=15]\r\n'HTTP_CONNECTION'[end=15]\r\n\r\n[index=57 len=10]\r\n'keep-alive'[end=10]\r\n\r\n[index=58 len=8]\r\n''[end=8]\r\n\r\n[index=59 len=8]\r\n''[end=8]\r\n\r\n[index=60 len=16]\r\n'[end=16]\r\n\r\n[index=61 len=10]\r\n'\r\n '[end=10]\r\n[2015/12/12 22:45:45] [  BUG !] Bug found in mk_iov_add() at /home/john/monkey/mk_core/include/mk_core/mk_iov.h:130\r\nAborted (core dumped)\r\n```"},"comment":{"url":"https://api.github.com/repos/monkey/monkey/issues/comments/164333230","html_url":"https://github.com/monkey/monkey/issues/226#issuecomment-164333230","issue_url":"https://api.github.com/repos/monkey/monkey/issues/226","id":164333230,"user":{"login":"edsiper","id":369718,"avatar_url":"https://avatars.githubusercontent.com/u/369718?v=3","gravatar_id":"","url":"https://api.github.com/users/edsiper","html_url":"https://github.com/edsiper","followers_url":"https://api.github.com/users/edsiper/followers","following_url":"https://api.github.com/users/edsiper/following{/other_user}","gists_url":"https://api.github.com/users/edsiper/gists{/gist_id}","starred_url":"https://api.github.com/users/edsiper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edsiper/subscriptions","organizations_url":"https://api.github.com/users/edsiper/orgs","repos_url":"https://api.github.com/users/edsiper/repos","events_url":"https://api.github.com/users/edsiper/events{/privacy}","received_events_url":"https://api.github.com/users/edsiper/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T03:33:21Z","updated_at":"2015-12-14T03:33:21Z","body":"thanks for the report.\r\n\r\nThe problem was that the fastcgi plugin was using the tls network API to write data to the fastcgi backend, instead it just need to use the default handler for that purpose."}}