Attachments (5)
Change History (9)
by , 13 years ago
Attachment: | ipv6.patch_server added |
---|
by , 13 years ago
Attachment: | ipv6_fusion.patch added |
---|
comment:1 by , 13 years ago
by , 13 years ago
Attachment: | ipv6_server.patch added |
---|
If the ACE_HAS_IPV6 is defined in config.h, then it's not effective on Linux. So move the definition to the begining of config-win32.h and config-linux.h
comment:2 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
r6048 for Server 2419 for Fusion: http://trac.osgeo.org/fusion/changeset/2419
comment:3 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
by , 13 years ago
Attachment: | ipv6_cleanup.patch added |
---|
- ServerInformation::CheckAddress will treat : as an invalid charactor for an IP address. After IPv6 is implemented, it's not true. So remove the : from the invalid characters list 2. Clean up: bool isv6Address = address.find(L":") != -1 changed -1 to wstring::npos
Note:
See TracTickets
for help on using tickets.
Replying to wuma:
This change list implements IPv6 support for IM Server.
serverconfig.ini. If the the MachineIp parameter is empty or IPv4 format, Server will listen to 0.0.0.0 so that it could listen to all available IPv4 addresses of the server machine. And if the MachineIp parameter is in IPv6 format, Server will listen to :: so that it could listen to all available IPv6 addresses of the server machine
address was encoded to session id by converting the IPv4 numbers to be hex numbers. For IPv6, this approach is not applicable because IPv6 format is too complicated and has non-number separators. The new approach is: encode the ip address to be base64 string.
Updated the regular expression pattern to adapt to the new sessionid format.
Previously QuickPlot uses HTTP API to get the map image. The mapagent URL is conposed at runtime and has "127.0.0.1" explicitly as the host name. It is to make the server gernerated URL could work with PHP + Apache when calling the php function imagecreatefrompng(url)
#define _WIN32_WINNT 0x0400 This predirective will make the compiler always think the OS is very old (win9x) and use the wrong library to compile soket related code. It will make couple project fail to compile after ACE_HAS_IPV6 has been enabled for ACE. That macro should be maintained by windows SDK by detecting the OS version. So removed it