http :: daemon :: ssl.

http :: daemon :: SSLÀº SSL Áö¿øÀÌÀÖ´Â °£´ÜÇÑ HTTP ¼­¹ö Ŭ·¡½ºÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

http :: daemon :: ssl. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Peter Behroozi
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~aufflick/HTTP-Daemon-SSL-1.04/SSL.pm

http :: daemon :: ssl. ű×


http :: daemon :: ssl. ¼³¸í

http :: daemon :: sslÀº SSL Áö¿øÀÌÀÖ´Â °£´ÜÇÑ HTTP ¼­¹ö Ŭ·¡½ºÀÔ´Ï´Ù. http :: daemon :: sslÀº SSL Áö¿øÀÌÀÖ´Â °£´ÜÇÑ HTTP ¼­¹ö Ŭ·¡½ºÀÔ´Ï´Ù .Synopsis http :: daemon :: ssl; http :: status; #ÀÌ ÀÛ¾÷À» ½ÃÀÛÇϱâ Àü¿¡ "server-cert.pem"#°ú "server-key.pem"ÀÎÁõ¼­ / µð·ºÅ丮°¡ ÀÖ´ÂÁö È®ÀÎÇϽʽÿÀ! ³» $ d = http :: daemon :: ssl-> new || ÁÖ»çÀ§; Àμâ "AT : N"¿¡¼­ Àú¿¡°Ô ¿¬¶ôÇϽʽÿÀ. while (my $ c = $ d-> ¼ö¶ô) {while (my $ r = $ c-> get_request) {($ r-> ¸Þ¼Òµå Eq 'get'¹× $ r-> url-> °æ·Î Eq "/ xyzzy ") {# ±â¾ïÇϽʽÿÀ, ÀÌ°ÍÀº *ÇÏÁö ¾Ê½À´Ï´Ù. * $ c-> send_file_response ("/ etc / passwd "); } else {$ C-> send_error (rc_forbidden)}} $ c-> ´Ý±â; Undef ($ c); } http :: daemon :: ssl Ŭ·¡½ºÀÇ ÀνºÅϽº´Â µé¾î¿À´Â ¿äûÀ» À§ÇØ ¼ÒÄÏÀ» ûÃëÇÏ´Â HTTP / 1.1 ¼­¹öÀÔ´Ï´Ù. http :: daemon :: sslÀº IO :: Socket :: SSLÀÇ ÇÏÀ§ Ŭ·¡½ºÀ̹ǷΠÁ÷Á¢ ¼ÒÄÏ ÀÛ¾÷À» ¼öÇà ÇÒ ¼ö ÀÖ½À´Ï´Ù. COMPLATE () ¸Þ¼Òµå´Â Ŭ¶óÀ̾ðÆ®ÀÇ ¿¬°áÀ» »ç¿ëÇÒ ¼öÀÖÀ» ¶§ ¹ÝȯµË´Ï´Ù. ½ºÄ®¶ó ÄÁÅؽºÆ®¿¡¼­ ¹Ýȯ µÈ °ªÀº http :: daemon :: clientconn :: ssl Ŭ·¡½ºÀÇ °´Ã¼¿¡ ´ëÇÑ ÂüÁ¶°¡ ´Ù¸¥ io :: socket :: ssl ¼­ºê Ŭ·¡½ºÀÔ´Ï´Ù. ¸ñ·Ï ÄÁÅؽºÆ®¿¡¼­ »õ HTTP :: Daemon :: ClientConn :: SSL ÂüÁ¶ ¹× ÇǾî ÁÖ¼Ò°¡ Æ÷ÇÔ µÈ 2 ¿ä¼Ò ¹è¿­ÀÌ ¸®Åϵ˴ϴÙ. ¸ñ·ÏÀº ½ÇÆнà ºñ¾î ÀÖ½À´Ï´Ù. (¹öÀü 1.02´Â ¸ñ·Ï ÄÁÅؽºÆ®¸¦ ¸í½ÉÇÏÁö ¾Ê¾Ò½À´Ï´Ù. http :: daemon :: clientConn :: ssl °³Ã¼¿¡¼­ get_request () ¸Þ¼Òµå¸¦ È£ÃâÇϸé Ŭ¶óÀ̾ðÆ®¿¡¼­ µ¥ÀÌÅ͸¦ Àаí http :: Request °´Ã¼ ÂüÁ¶¸¦ ¹ÝȯÇÕ´Ï´Ù.ÀÌ https µ¥¸óÀº Æ÷Å© (2)¸¦ Æ÷Å©ÇÏÁö ¾Ê½À´Ï´Ù. ±ÍÇÏÀÇ ½Åû, Áï http :: daemon :: sslÀÇ »ç¿ëÀÚ°¡ ¹Ù¶÷Á÷ÇÑ °æ¿ì Æ÷Å©¸¦ À§ÇØ reponsibleÀÔ´Ï´Ù. ¶ÇÇÑ »ç¿ëÀÚ´Â HTTP / 1.1 ÇÁ·ÎÅäÄÝÀ» ÁؼöÇÏ´Â ÀÀ´äÀ» »ý¼º ÇÒ Ã¥ÀÓÀÌ ÀÖ½À´Ï´Ù. http :: daemon :: clientConn Ŭ·¡½º´ÂÀ̸¦ ´õ ½±°Ô ¸¸µå´Â ¸î °¡Áö ¸Þ¼Òµå¸¦ Á¦°øÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.


http :: daemon :: ssl. °ü·Ã ¼ÒÇÁÆ®¿þ¾î