Artifact
cd5c58435cba499ee7952d3fe0363cfaa61a9aac:
Ticket change
[cd5c58435c]
- Ticket [4060715d46]
Implement FastCGI interface status still Open with 2 other changes
by
stephan
2011-09-14 18:13:47.
D 2011-09-14T18:13:47.168
J +comment \n\n<hr\s/><i>stephan\sadded\son\s2011-09-14\s18:13:47\sUTC:</i><br\s/>\nJust\ssome\srandom\snotes:\r\n\r\n-\sFastCGI\srequires\sthe\sglobal\suse\sof\sFastCGI\sdrop-in\sreplacements\sfor\sread/write\scalls.\sALL\scode\susing\sthe\sfread/fwrite/and\sfriends\sAPIs\smust\suse\sthe\sFastCGI\sreplacements.\r\n\r\n-\sThe\sFastCGI\swrapper\sfor\sfwrite()\shas\sa\sbroken\stype\ssignature,\spossibly\srequiring\sa\skludge\sin\sthe\sclient\scode:\r\n\r\n#\s\sdefine\sFWRITE(p,\ss,\sn,\sf)\sFCGI_fwrite((void\s*)p,\ss,\sn,\sf)\r\n\r\nFCGI_fwrite()\sis\sdefined\sto\stake\sa\s_non-const_\spointer\sas\sthe\ssrc\smemory\saddress,\swhich\sis\sincompatible\swith\sfwrite()\sand\sbreaks\scode\swhich\sreferences\sfwrite\svia\sfunction\spointer.\r\n\r\nAdditionally,\sFastCGI\srequires\sper-app-run\sstate,\swhich\sfossil's\sarchitecture\scannot\shandle\s(it\smakes\sheavy\suse\sof\sglobal\sstate).\sThat\ssaid,\sDRH\sonce\ssuggested\sthe\sfork()ing\seach\sinstance\sas\sa\sworkaround.\sThe\scost\sof\sfork()ing\s_might_,\showever,\sbe\sas\shigh\sas\s_not_\susing\sFastCGI.\r\n
J resolution Open
K 4060715d461650592727162777797ace6fb83d7b
U stephan
Z 2a480f3bc713d2ca43abbb68f08a85f3