Apache :: Tiebucketbrigade.

ApacheÀÇ Bucket Brigade¿¡ IO :: ÇÚµéÀ» ¹­´Â Perl È®ÀåÀº Ç¥ÁØ FileHanÀ» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù ...
Áö±Ý ´Ù¿î·Îµå

Apache :: Tiebucketbrigade. ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °Ô½ÃÀÚ À̸§:
  • Will Whittaker and Ken Simpson
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~mock/

Apache :: Tiebucketbrigade. ű×


Apache :: Tiebucketbrigade. ¼³¸í

ApacheÀÇ Bucket Brigade¿¡ ´ëÇÑ IO :: ÇÚµéÀ» ¹­´Â Perl È®ÀåÀº ¿©´Ü¿¡¼­ Ç¥ÁØ ÆÄÀÏ ÇÚµé À¯Çü ÀÛ¾÷À» »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. Apache :: Tiebucketbrigade´Â Apache Connection °´Ã¼¸¦ »ç¿ëÇÏ°í ¹­ÀÎ IO :: Handle °´Ã¼¸¦ ¹ÝȯÇÏ´Â "new_tie"¶ó´Â ÇϳªÀÇ À¯¿ëÇÑ ¸Þ¼Òµå°¡ÀÖ´Â Perl ¸ðµâÀÔ´Ï´Ù. Mod_Perl ÇÁ·ÎÅäÄÝ Çڵ鷯 ³»¿¡¼­ »ç¿ëÇÏ¿© ¹öŶ Brigade Bitz¸¦º¸´Ù ½±°Ô ó¸®ÇؾßÇÕ´Ï´Ù. Fileno´Â ½ÇÁ¦ ÆÄÀÏÀ» ¿¡¹Ä·¹ÀÌ¼Ç (file :: io :: new_tmpfile »ç¿ë)À» ¿¡¹Ä·¹ÀÌÆ®ÇÏ°í core :: select¸¦ ¹«½ÃÇÒ ¼ö ÀÖµµ·Ï core :: select°¡ ¿¹»ó´ë·Î ÀÛµ¿ÇÕ´Ï´Ù (apr :: socket-> underneath). IO :: Handle :: Â÷´ÜÀº ºí·ÎÅ· ¶Ç´Â ºñ ºí·ÎÅ·À» ¼³Á¤Çϴµ¥µµ ÀÛµ¿ÇÕ´Ï´Ù. ±×·¯³ª AutoFlush´Â NOOPÀÔ´Ï´Ù. ÀÌ ¹öÀüÀÇ »õ·Î¿î ±â´ÉÀ» »ç¿ëÇϸé ÆÄÀÏ ÇÚµéÀ» ´ÝÀ¸¸é ½ÇÁ¦·Î ¿¬°áÀÌ ´ÝÈü´Ï´Ù. ¿©±â¿¡ ¸î °¡Áö »çÇ×Àº ¾à°£ÀÇ ÇØ»óÀ̸ç, µÎ ¹èÀÇ ½ÇÁ¦ ÆÄÀÏ µð½ºÅ©¸³ÅÍ°¡ »ç¿ëµÇ´Â °æ¿ì µÎ ¹è°¡µÇ¹Ç·Î ÀÚ¿ø ¹®Á¦°¡ ¹ß»ýÇÒ °¡´É¼ºÀÌ ÀÖ½À´Ï´Ù. _18 ÀÌ»ó (µû¶ó¼­ APR :: Socket-> ¼³¹® Á¶»ç¿¡ ´ëÇÑ Áö¿øÀÌ Æ÷ÇԵǾî ÀÖÀ¸¹Ç·Î) ÀÛµ¿ÇÏÁö ¾Ê½À´Ï´Ù. ¾ÆÆÄÄ¡ :: ¿¬°á ()À» »ç¿ëÇÕ´Ï´Ù. Apache :: const -compile => 'OK'¸¦ »ç¿ëÇϽʽÿÀ. Apache :: Tiebucketbrigade¸¦ »ç¿ëÇϽʽÿÀ; ÇÏÀ§ 󸮱â {My $ FH = Apache :: Tiebucketbrigade-> New_Tie ($ C); ³» @stuff =; $ FH "¹°°ÇÀ» Àμâ"ÇÕ´Ï´Ù. " $ FH-> Àμâ ( "IO :: IO : DEPER TOO !!!"); Apache :: OK; } ¿ä±¸ »çÇ× : ¡¤ Perl.


Apache :: Tiebucketbrigade. °ü·Ã ¼ÒÇÁÆ®¿þ¾î