$OpenBSD: patch-src_netcgi2_netcgi_fcgi_mli,v 1.1.1.1 2012/07/16 09:27:31 edd Exp $

Committed upstream:
Netcgi connectors (SCGI, AJP, FCGI): unifying the ~sockaddr
and ~port arguments. ~port now also assumes a loopback binding.
(Suggested by Christopher Zimmermann).
--- src/netcgi2/netcgi_fcgi.mli.orig	Wed May 30 10:46:18 2012
+++ src/netcgi2/netcgi_fcgi.mli	Wed May 30 10:46:32 2012
@@ -74,6 +74,7 @@ val run :
   ?arg_store:arg_store ->
   ?exn_handler:exn_handler ->
   ?sockaddr:Unix.sockaddr ->
+  ?port:int ->
   (cgi -> unit) -> unit
   (** [run f] register the function [f] as a main function of the
       script.  Each call to the script will execute [f cgi].  The code
@@ -99,6 +100,8 @@ val run :
       on a different machine), set [sockaddr] to the address the web
       server needs to connect to to talk to the script (this address
       must also be specified in the wen server config file).
+
+      @param port alternative way to specify [sockaddr] for localhost
 
       Your application should be ready handle SIGUSR1, used to
       resquest a "graceful" process shutdown, and SIGTERM to request a
