readme
来自「FastCGI,语言无关的、可伸缩架构的CGI开放扩展」· 代码 · 共 401 行 · 第 1/2 页
TXT
401 行
FastCGI Developer's Kit README------------------------------ $Id: README,v 1.21 2003/01/19 17:19:41 robs Exp $ Copyright (c) 1996 Open Market, Inc. See the file "LICENSE.TERMS" for information on usage and redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.Basic Directions----------------Unix: ./configure make make installWin32: nmake -f Makefile.nt (or use the MSVC++ project files in the Win32 directory)CHANGES-------For more detail regarding changes, please consult the cvs log available on http://fastcgi.com/.2.4.0----- *) When closing connections, shutdown() the send side of TCP sockets to prevent a TCP RST from trashing the reciept of data on the client (when the client continues to send data to the application). *) [WIN32] force an exit from the ShutdownRequestThread when a shutdown is signaled and NamedPipes are in use. *) Use streamsize and char_type in the C++ API. *) [WIN32] Eliminate the (partial and broken) use of OverlappedIO - this was causing a loose spin in acceptNamedPipe(). *) Fix a bug that caused an assert to pop when an async file descriptor was numbered greater than 16. Kevin Eye [eye@buffalo.edu] *) Update the echo-cpp example to show the restoral of the original streambufs. Trub, Vladimir [vtrub@purolator.com] *) Fix a bug a that caused the lib to crash under certain circumstances when an error occured on a read *) Test for iostreams that support a streambuf assigment operator *) (WIN32) Fixed initialization of the accept mutex when OpenSocket() was used. Niklas Bergh [niklas.bergh@tific.com]2.2.2 ----- *) Added support for shared libraries. *) Added support for a graceful shutdown via an event under Win32. *) Added default signal handlers for PIPE, USR1, and TERM. *) Fix some minor bugs in the 0S_ layer. *) Fixed the C++ streambuf implementation.Changes with devkit 2.1.1 ------------------------- *) Fixed an unintentional sign extension during promotion in Java's FCGIInputStream.read(). Takayuki Tachikawa <tachi@po.ntts.co.jp> *) Cleaned up warnings in examples (mostly main() complaints). *) Removed examples/tiny-cgi.c (it wasn't a FastCGI application?!). *) Remove some debugging code and clean up some gcc warnings in cgi-fcgi.c. *) Add multithread support to the fcgiapp lib and an example multithreaded application, threaded.c. Based on work by Dennis Payne <dpayne@softscape.com> and Gene Sokolov <hook@aktrad.ru>. *) Remove the printf() and #include of stdio.h from examples/echo2.c. *) Remove the static initialization of _fcgi_sF[] because on glibc 2.x based systems stdin/stdout/stderr are no longer static. *) Flush FastCGI buffers at application exit. <eichin@fastengines.com> << INSERT OTHER STUFF HERE >>What's New: Version 2.0b2, 04 April 1997--------------------------------------Some additional bug fixes, mostly on NT port. The following listof the bugs that have been and fixed: 1. Updated build_no_shell.bat to create a FcgiBin directory under the top level of the FastCGI kit and copy all executables and the FastCGI dll there. This makes it easier to use. 2. Corrected the Unix version of OS_SpawnChild so that it didn't close the listenFd when forking off child processes. This code would affect the cgi-fcgi application on Unix. The problem is that it could only start one fastcgi process. Any other processes would not get the listen file descriptor and they would die. 3. Corrected cgi-fcgi.c so that it properly handled large posts. The bug was introduced with the asynchronous I/O model implemented for the Windows NT port. The problem was not clearing a bit indicating that a read had completed. This caused the application to stall. 4. Corrected OS_DoIo, the function used for scheduling I/O for cgi-fcgi. It had a bug where it wasn't creating a copy of the file descriptors used for I/O. This would cause the master list of FDs to watch to be reset and thus would hang the application because we would no longer watch for I/O on those file descriptors. (This problem was specific to Unix and only happened with the cgi-fcgi application.) 5. Cleaned up several compilation warnings present on OSF.What's New: Version 2.0b1, 24 March 1997--------------------------------------This "beta" release adds the functionality of "cgi-fcgi" to theWindows NT platform and allows for creation of FastCGI applicationsrunning in Win32 environment. There is almost no new documentationprovided, but will become part of this kit in the official release. 1. Added FastCGI libraries running on Windows NT 3.51+ 2. Rename errno to FCGI_errno in the FCGX_Stream, which was causing problems on some Linux platforms and NT. 3. Fixed a parenthesis problem in FCGI_getsWhat's New: Version 1.5.1, 12 December 1996--------------------------------------This release introduces mostly bug fixes, without any additionalfunctionality to the kit. 1. Conditional compilation for the hp-ux compiler. 2. Loop around the accept() call to eliminate "OS Error: Interrupted System Call" message from appearing in the error logs. 3. Casting of the FCGI_Header to (char *), which eliminates the assertion failure "bufPtr->size>0".What's New: Version 1.5, 12 June 1996--------------------------------------General: Added a white paper on FastCGI application performance to the doc directory. Generally brought the other docs up to date. Rearranged the kit to put more emphasis on running FastCGI-capable servers and less on running cgi-fcgi. Added examples/conf/om-httpd.config, a config file that demonstrates all of the example apps. (Would like to have similar configs for NCSA and Apache.) Added the tiny-authorizer and sample-store applications to the examples. These are explained in the index.html. In addition to everything else it does, sample-store demonstrates a bug in the Open Market WebServer 2.0: When an Authorizer application denies access, the server tacks some extra junk onto the end of the page the application returns. A little ugly but not fatal.C libraries: Added the functions FCGX_Finish and FCGI_Finish. These functions finish the current request from the HTTP server but do not begin a new request. These functions make it possible for applications to perform other processing between requests. An application must not use its stdin, stdout, stderr, or environ between calling FCGI_Finish and calling FCGI_Accept. See doc/FCGI_Finish.3 for more information. The application examples/sample-store.c demonstrates the use of FCGI_Finish. Added conditional 'extern "C"' stuff to the .h files fcgi_stdio.h, fcgiapp.h, and fcgiappmisc.h for the benefit of C++ applications (suggested by Jim McCarthy). Fixed two bugs in FCGX_VFPrintF (reported by Ben Laurie). These bugs affected processing of %f format specifiers and of all format specifiers containing a precision spec (e.g "%12.4g"). Fixed a bug in FCGX_Accept in which the environment variable FCGI_WEBSERVER_ADDRS was being read rather than the specified FCGI_WEB_SERVER_ADDRS. Fixed a bug in FCGX_Accept in which the wrong storage was freed when FCGI_WEB_SERVER_ADDRS contained more than one address or if the address check failed. Changed FCGX_Accept to avoid depending upon accept(2) returning the
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?