Good call, i will move. Until we find good way for determining file
paths, i will check for unix style for now.
Also, do we want to keep old style virtual hosting by loading nssock
globally. I've never used it and it is so
inconvenient. The code is in the DriverInit. Or we can convert it as i
offered a while ago to be able do host mapping in any loaded nssock
driver without need to load nssock globally.
Also, I see (in driver.c:436)
drvPtr = firstDrvPtr;
while (drvPtr != NULL) {
if (drvPtr->bindaddr && drvPtr->bindaddr[0] == '/') {
drvPtr->opts |= NS_DRIVER_UNIX;
}
if (drvPtr->opts & NS_DRIVER_UDP) {
Here the decision is taken on examining the bind-address.
Couldn't we move this way down where the drvPtr->bindaddr
is actually assigned to and turn the drvPtr->opts there?
This would be more logical and easy to understand.
Zoran
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you
shotput
a projector? How fast can you ride your desk chair down the office luge
track?
If you want to score the big prize, get to know the little guy. Play to
win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel
--
Vlad Seryakov
571 262-8608 office
[EMAIL PROTECTED]
http://www.crystalballinc.com/vlad/