demexp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Demexp-cvs] arch commit: demexp--cduce--0.3--patch-13


From: David
Subject: [Demexp-cvs] arch commit: demexp--cduce--0.3--patch-13
Date: Tue, 08 Feb 2005 23:34:30 +0100

Revision: demexp--cduce--0.3--patch-13
Archive: address@hidden
Creator: David MENTRE <address@hidden>
Date: Tue Feb  8 23:34:06 CET 2005
Standard-date: 2005-02-08 22:34:06 GMT
Modified-files: Makefile config.ml scripts/launch-demexp
    srv/demexp-server.ml.nw
New-patches: address@hidden/demexp--cduce--0.3--patch-13
Summary: statically linked bytecode version of server
Keywords: server

* scripts/launch-demexp: bug fix: arguments given should not be quoted
  otherwise they are seen as one unique argument.

* Makefile: add parameters so that the generated bytecode server
  includes the runtime statically linked. Thus demexp-server.bc is now
  independant of the OCaml runtime.

* config.ml: change default_server_address from "localhost" to
             "127.0.0.1"
  srv/demexp-server.ml.nw: move starting of dummy client after server
             start.

  Bug work around: there was a socket opening race in autotest mode
  between the client and the server. If the server does not open its
  listening socket fast enough, the dummy client could not connect to
  the server. The bug did not appear in the native code version but
  apparently the bytecode one was not fast enough.

  I also changed default_server_address to "127.0.0.1". Without it, the
  client cannot connect to the server. I'm not exactly sure why but I
  suspect the server takes to much time to resolve "localhost". So there
  is still a race between the dummy client and server.

  This bug only impacts autotest mode and does not appear in normal
  situation. 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]