I-GNU libmicrohttpd 0.9.74 sele ikhutshiwe kwaye ezi ziindaba zayo

Mva nje iprojekthi ye-GNU ikhuphe ukukhululwa kwe inguqulelo entsha yethala leencwadi libmicrohttpd 0.9.74, I-API emele i-API elula yokusebenza kwe-server ye-HTTP eyakhelwe-ngaphakathi kwizicelo.

Ithala leencwadi ixhasa iprotocol ye-HTTP 1.1, i-TLS, i-POST yesicelo esongeziweyo, ukuqinisekiswa okusisiseko kunye nokwetyisa, i-IPv6, i-SHOUTcast, kunye neendlela ezahlukeneyo zoqhagamshelwano oluphindaphindiweyo (khetha, i-poll, i-pthread, i-thread pool), okwangoku ukuphunyezwa kunenkxaso yamaqonga ahlukeneyo axhaswayo, kuquka i-GNU / Linux, i-FreeBSD, i-OpenBSD, i-NetBSD, i-Solaris, i-Android. , macOS, Win32, Symbian, kunye z / OS.

I-GNU libmicrohttpd yazalwa ngenxa yesidingo sombhali wayo, owathi ngelo xesha wayefuna indlela elula yokongeza iseva ye-HTTP efanayo kwezinye iiprojekthi. Iindlela ezizezinye ezikhona bezingezizo ezasimahla, zingaphindanga, zizimele, umgangatho wekhowudi ombi, okanye indibaniselwano yoko.

Yeempawu ezibalaseleyo kolu phumezo:

  • Ithala leencwadi C: liyakhawuleza kwaye lincinci
  • I-API ilula, icacile, kwaye iphinda ingene ngokupheleleyo.
  • Ukuphunyezwa kuhambelana ne-HTTP 1.1
  • Umncedisi we-HTTP unokumamela kumazibuko amaninzi
  • Iindlela ezininzi zokuhlanganisa: Baleka kuMsonto weSicelo, umsonto waNgaphakathi, iPool yomsonto, kunye nomsonto ngoQhagamshelwano ngalunye.
  • Iimowudi ezintathu ezahlukeneyo zokuvota kwisokethi: khetha (), i-poll (), kunye ne-epoll
  • Ubuncinci benani leefowuni zenkqubo ukunqanda i-kernel eyongezelelweyo / utshintsho lwemo yomsebenzisi
  • Amaqonga axhaswayo abandakanya iGNU / Linux, FreeBSD, OpenBSD, NetBSD, Android, Darwin (macOS), W32, OpenIndiana /
  • Solaris kunye z / OS
  • Inkxaso ye-IPv6
  • SHOUTcast inkxaso
  • Inkxaso yokusetyenzwa ngokunyuka kwedatha yePOST (ukhetho)
  • Inkxaso yoqinisekiso olusisiseko nolufihlakeleyo (ukhetho)
  • Inkxaso ye-TLS (ifuna i-libgnutls, iyakhethwa)
  • Okubini kumalunga ne-32k kuphela (ngaphandle kwenkxaso ye-TLS kunye nezinye izinto ozikhethelayo)

Iimpawu eziphambili ezintsha ze-libmicrohttpd 0.9.74

Kolu guqulelo lutsha luvela kwithala leencwadi singayifumana loo nto yongeza ukuphunyezwa komfuniselo weWebSockets protocol, engekavavanywa kakuhle kwaye ikhubaziwe ngokungagqibekanga.

Enye into entsha enikiweyo yile ukuthobela imigaqo yokuphunyezwa kwe-HTTP 1.0 / 1.1 kuye kwaphuculwaUkongeza, ikhowudi yaphinda yasetyenziswa ukucacisa izicelo eziqhekezayo.

Kuyacaciswa ukuba ikhowudi eyongeziweyo ukubuyisela ngokuzenzekelayo iimpazamo ezinxulumene nezicelo ezimbi, ubungakanani bedata enkulu kakhulu kunye noseto lwesihloko esingachanekanga soMxholo-Ubude.

Kuye kwafezekiswa ulungiselelo lwangaphakathi, umzekelo, ukuphuculwa kokulawulwa kwememori, ukuphucula ukusebenza kakuhle kwe-hash, kunye nokupheliswa kokuphindaphinda ukuphindaphinda kwendlela ye-HTTP kunye nenguqulo yeprotocol.

Kwaye kwaqatshelwa ukuba ibonelele ngoqinisekiso olungqongqo lwamaxabiso eeheader zeHTTP, ivumele ukusetyenziswa kophawu lwethebhu kumaxabiso eheader yempendulo, kodwa yalela ukusetyenziswa kwezithuba kumaxabiso eeheader zesiko.

Ngaphandle koko, ikhowudi yokuvelisa iiheader zeHTTP kwimpendulo ibhalwe ngokutsha ngokupheleleyo kunye nokuchaneka kwexesha lokuvala kunyusiwe ukusuka kwimizuzwana ukuya kwi-milliseconds.

Ukhetho lolwakhiwo olongeziweyo-yenza-izicoci zokucoca [= idilesi, engachazwanga, evuzayo, ityhefu yomsebenzisi] ukuze ukhethe ukwenza iindlela zokubona ingxaki kwikhowudi.

Ukulungiswa, ukucaciswa, kwandiswe kwaye kwaphuculwa iinkcazo zemisebenzi yeDoxy, ngoku ikhankanya ukuba kufuneka kube lula kakhulu ukufunda i-MHD ngokufunda nje izihloko.

Olunye utshintsho olwahlukileyo kule nguqulo intsha:

  • Iinkcazelo eziphuculweyo zomsebenzi kwifayile yeheader microhttpd.h.
  • imisebenzi API added MHD_get_reason_phrase_len_for () kunye MHD_create_response_from_buffer_with_free_callback_cls (), MHD_CONNECTION_INFO_HTTP_STATUS iflegi, MHD_get_connection_info (), kwakunye neempendulo iflegi MHD_CONNECTION_INFO_HTTP_STATUS, kunye neempendulo MHD_SDRIVE_HDRFKE_HDR_HDRF_HDR_HDRF_HDRF_REND_HDRF_HDRF_REND_HDRF_HDR_RF_RF_HDR_RF_HDRF_.
  • Ifayile yeprojekthi eyongeziweyo yokudibanisa kwi-MSVC.
  • Ukuqulunqwa kwesihloko sempendulo kwabhalwa ngokutsha ngokupheleleyo. Ukuphunyezwa okutsha komelele ngakumbi, kulula ukuyigcina kunye nokwandiswa, kwaye ilandela ngakumbi i-RFC HTTP iinkcukacha.
  • Uphuculo lomsebenzi: Ngoku uguqulelo lweHTTP kunye nendlela yesicelo zikhowudwa kube kanye kuphela (ngaphambili iMHD ibisebenzisa uthelekiso lwemitya emininzi.

Gqibela ukuba unomdla wokwazi okungakumbi ngayo malunga nolu kukhululwa, unokujongana neencwadana zabasebenzisi kunye nolunye ulwazi kwiwebhusayithi yayo.

Ikhonkco yile.


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Yiba ngowokuqala ukuphawula

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.