#458 closed defect (fixed)
PJ_ERESOLVE error in Windows Mobile
Reported by: | bennylp | Owned by: | bennylp |
---|---|---|---|
Priority: | normal | Milestone: | release-0.9.0 |
Component: | common | Version: | trunk |
Keywords: | Cc: | ||
Backport to 1.x milestone: | Backported: |
Attachments (1)
Change History (5)
Changed 17 years ago by nanang
comment:1 Changed 17 years ago by nanang
comment:2 Changed 17 years ago by bennylp
comment:3 Changed 17 years ago by bennylp
- Description modified (diff)
- Resolution set to fixed
- Status changed from new to closed
comment:4 Changed 9 years ago by nanang
In 5319:
Note: See
TracTickets for help on using
tickets.
No network connection case
After performed some tests trying to reproduce the problem,
I caught the PJ_ERESOLVE error only when no network connection is active,
other condition resulted fine.
Tests performed:
The problem is rooted from failure of gethostbyname(IP_ADDR) when no network connection is active. So the problem should be fixed by checking if the input is already IP address, pj_getaddrinfo() skips the pj_gethostbyname.
Attachment 'ticket 458.patch' contains: