fastcgi++: main page
番茄系统家园 · 2021-08-26 05:00:25

++
,asis,()llbeoutputtedbytheuserdefinedvirtualsthroughanoutputstream.Oncearequesthascontroloveroperationitmaintainsituntilrelinquishingit.Shouldtheuserknowarequestwillsitaroundwaitingfordata,itcanreturncontroltoFastcgipp::Managerandhaveamessagesentbackthroughthemanagerwhenthedataisready.Theaspectsoftheenvironment().arebuildaroundtheFastcgipp::Httpnamespace.
Fastcgipp::Manager
basicallyrunsanendlessloop(whichcanbeterminatedthroughPOSIXsignalsorafunctioncallfromanotherthread)thatpassescontroltorequeststhathaveamessagequeuedorthetransceiver.Itissmartenoughtogointoasleepmodewhentherearenotaskstocompleteordatatoreceive.
Fastcgipp::Transceiver
'stransmithalfimplementsacyclicbufferthatcangrowindefinitelytoinsurethatoperationdoesnothalt.ThesendhalfreceivesfullframesandpassesthemthroughFastcgipp::Managerontotherequests.Itmanagesalltheopenconnectionsandpollsthemforincomingdata.
Dependencies
BoostC++Libraries1.35.0
PosixcompliantOS(socketstuff)
免责声明: 凡标注转载/编译字样内容并非本站原创,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责。如果你觉得本文好,欢迎推荐给朋友阅读;本文链接: https://m.nndssk.com/post/48425.html。
