#458 closed defect (fixed)
PJ_ERESOLVE error in Windows Mobile — at Version 3
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: |
Change History (4)
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
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: