Hi,

When adding the oma.xcap-directory auid support to xcap_server I couldn't get the following bit of code (in xcap_server.c:xcaps_get_directory()) to work:

      while (hdr != NULL)
        {
                if (cmp_hdrname_strzn(&hdr->name, "Host", 4) == 0)
                {
                        server_name = hdr->body;
                        break;
                }
                hdr = hdr->next;
        }

The host header was never found.  However, simply putting 'xdbg("$hdr(Host)\n");' in event_route[xhttp:request] made it start working.

Have I missed something in the code, or is this a bug?

Regards,

Peter


-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd