<div dir="ltr"><div>Hi Andy,</div><div><br></div><div>When I dump all headers at LWS_CALLBACK_CLIENT_FILTER_PRE_ESTABLISH, I'm not getting the "X" headers.</div><div><br></div><div>Examples:</div><div><br></div><div>    X-XSS-Protection: 1; mode=block\r\n</div><div>    X-Frame-Options: SAMEORIGIN\r\n</div><div><br></div><div>Am I doing something wrong, or are "X" headers dropped?</div><div><br></div><div>Enumeration code:</div><div><br></div><div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>do {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span>c = lws_token_to_string(n);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>if (c == NULL || *c == 0) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                    </span>n++;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                   </span>continue;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span>}</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span>len = lws_hdr_total_length(wsi, n);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>if (!len || len > sizeof(buf) - 1) {</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                        </span>n++;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                   </span>continue;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">              </span>}</div><div><br></div><div><span class="gmail-Apple-tab-span" style="white-space:pre">             </span>lws_hdr_copy(wsi, buf, sizeof buf, n);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">         </span>buf[sizeof(buf) - 1] = '\0';</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">           </span>fprintf(stderr, "    %s %s\n", (char *)c, buf);</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">            </span>n++;</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">   </span>} while (c);</div></div><div><br></div><div><br></div><div>Thanks,</div><div>Joel</div></div>