X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-proxy-main.cpp;h=0487363050c363e927d8c68096f7e8a68b53652c;hb=966d1a0443071c2b75426d0214bfb9960c5c3fba;hp=769c0a2275a903966bd524fb0968a9b67f5b64d6;hpb=316df82985a4207a7d52e7d88567bf26d5c2c7c8;p=yazpp-moved-to-github.git diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index 769c0a2..0487363 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -1,52 +1,16 @@ /* - * Copyright (c) 1998-2000, Index Data. + * Copyright (c) 1998-2001, Index Data. * See the file LICENSE for details. * - * $Log: yaz-proxy-main.cpp,v $ - * Revision 1.11 2000-09-08 10:23:42 adam - * Added skeleton of yaz-z-server. - * - * Revision 1.10 2000/09/04 08:59:16 adam - * Changed call to logging functions (yaz_ added). - * - * Revision 1.9 2000/08/07 14:19:59 adam - * Fixed serious bug regarding timeouts. Improved logging for proxy. - * - * Revision 1.8 2000/07/04 13:48:49 adam - * Implemented upper-limit on proxy-to-target sessions. - * - * Revision 1.7 1999/12/06 13:52:45 adam - * Modified for new location of YAZ header files. Experimental threaded - * operation. - * - * Revision 1.6 1999/11/10 10:02:34 adam - * Work on proxy. - * - * Revision 1.5 1999/04/21 12:09:01 adam - * Many improvements. Modified to proxy server to work with "sessions" - * based on cookies. - * - * Revision 1.4 1999/04/09 11:46:57 adam - * Added object Yaz_Z_Assoc. Much more functional client. - * - * Revision 1.3 1999/02/02 14:01:21 adam - * First WIN32 port of YAZ++. - * - * Revision 1.2 1999/01/28 13:08:45 adam - * Yaz_PDU_Assoc better encapsulated. Memory leak fix in - * yaz-socket-manager.cc. - * - * Revision 1.1.1.1 1999/01/28 09:41:07 adam - * First implementation of YAZ++. - * + * $Id: yaz-proxy-main.cpp,v 1.14 2001-11-04 22:36:21 adam Exp $ */ #include #include -#include -#include -#include +#include +#include +#include void usage(char *prog) { @@ -111,5 +75,6 @@ int main(int argc, char **argv) args(&proxy, argc, argv); while (mySocketManager.processEvent() > 0) ; + exit (0); return 0; }