Thanks for the comments.<br>I have several questions:<div><br>1. You mentioned &quot;style problems&quot;. What exactly are they? The web page of mail list will trim the spaces/tabs so it&#39;s hard to judge the problem. Last time, you commented my code that there should be no space between the function name and &quot;(&quot;, that&#39;s clear. I want the suggestions like that.<div>

<br><div><br>2. You mentioned &quot;It&#39;s not clear why you are trying to do two different &quot;resolve&quot; in a raw, each of them calling gethostbyname/getaddrinfo. Looks silly.&quot;  Do you mean I use &quot;getaddrinfo/gethostname&quot; in &quot;ngx_inet_parse_hostname&quot; and &quot;ngx_inet_resolve_host&quot; respectively? The old code use twice &quot;gethostbyname&quot; too. So I follow the way. What&#39;s your expectation? Please make that clear?</div>

<div><br></div><div><br>3. You mentioned &quot;This change is completely unrelated and not really needed. You may want to avoid cluttering patch with such changes.&quot; Do u mean I shouldn&#39;t convert the code to the new function &quot;ngx_inet_resolve_host_name&quot;, or shouldn&#39;t I move up the &quot;sin-&gt;sin_port&quot; set code.</div>

</div></div><div><br></div><div><br></div><div>4. I admit this diff is hard to review, especially in the function &quot;ngx_inet_resolve_host&quot;. The old code structure is completely changed and rewritten because a) the interface of getaddrinfo and gethostbyname is different; 2) I try to avoid too much duplicated code brought by directly expending the old code. So I strongly suggest you should review the merge result of &quot;ngx_inet_resolve_host&quot;. It&#39;s not feasible that you can always tell the mechanism of the fix from diff.  Of course, I&#39;ll try my best to shrink and split the diff into little ones.</div>

<div><br></div><div>I can imagine how busy you are. But I&#39;m a new guys to do the nginx dev so please give more advices like &quot;what is good&quot; and &quot;what should be done&quot;. This would save time to both of us.</div>

<div><br></div><div>Thanks.</div>