|
From: | T.Somequare |
Subject: | [bug #34272] WebServer (v1.4.4) has no support of specifying interface to be listened |
Date: | Mon, 12 Sep 2011 09:31:19 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3 |
URL: <http://savannah.gnu.org/bugs/?34272> Summary: WebServer (v1.4.4) has no support of specifying interface to be listened Project: GNUstep Submitted by: tsomeqdev Submitted on: 2011年09月12日 18時31分18秒 Category: Libraries Severity: 3 - Normal Item Group: Change Request Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: Hi. I think, other web server has a section of configuration to specify address listened. -- Apache`s example -- Listen *:80 #Any addresses Listen 192.168.0.1:80 #can accept connection only from LAN -- This is useful if the server has two or more global addresses ( IP alias ). It enables parallel running of different web server instances on ONE machine. But WebServer library currently does not support such case.... The code is written : -- WebServer.m (Near line 1440) _listener = [NSFileHandle fileHandleAsServerAtAddress: nil service: _port protocol: @"tcp"]; -- How about adding a new Method ? @interface WebServer ... - (void) setListenAddress:(NSString*)address @end regards. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?34272> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |