DestroyResolveRequest
function · os · orchestration
- Address
0x43b790· 119 bytes, up to0x43b806- Signature
void __thiscall (ResolveRequest *this)- Meaning
- Frees a resolve request's host copy, thread handle and address list and unlinks it
- Confidence
- verified, proof two
- Finding
- net/dial#resolver-hand-off
Finding: Resolver hand-off in net: dial
The thread adds each entry, under the OsTcp object's lock (an event at +0x618 used as a mutex), to the list at request +0x24: capacity, count +0x28, data +0x2c, step. At the list's end it stores 1 at +0x20, the flag, and sets the event at the object's +0x544. A request missing from the object's list, or a hostent whose first address pointer is null, ends the thread before the flag. The OsTcp thread 0x43ae20, named OsTcp_Base, takes requests off the list's head while the head's flag is set and, on that thread, calls each one's callback through 0x43b810 with the data pointer, the count and the argument, then frees its host copy, thread handle and list.
The derivation is in the doc.
Callers 1
Callees 1
- SMemFree storm
Calls and jumps by a bare address, from tables/calls.tsv.