[OpenSIPS-Users] openxcap: 64k limit for query results?

Saúl Ibarra Corretgé saul at ag-projects.com
Tue Oct 23 11:37:11 CEST 2012


Hi Greg,

On Oct 23, 2012, at 11:14 AM, Greg Gladman wrote:

> Hi Saúl,
> 
> The OpenXCAP server in question is an active production machine for other services, so I'm a little hesitant to make changes to the hostfile for testing. :)
> 
> I did do an ngrep on the local machine and retry the query, and I do see it returning 64k of data:
> 
> HTTP/1.1 200 OK..Content-Length: 65535..Accept-Ranges: bytes..Server: OpenXCAP/2.0.0..ETag: "564e6f706fbf147ee1d7b27668470a81"..Date
>   : Tue, 23 Oct 2012 09:01:50 GMT..Content-Type: application/resource-lists+xml....[..]
> 
> I've also read that wget can't handle chunked data (although this response doesn't seem to be chunked), so I've tried curl, with similar results:
> 
> * Connected to [host.domain] (xx.xx.xx.xx) port 9000 (#0)
> * Server auth using Basic with user '[username at host.domain]'
> > GET /xcap-root/resource-lists/users/[username at host.domain]/index HTTP/1.1
> > Authorization: Basic [..]
> > User-Agent: curl/7.18.0 (i486-pc-linux-gnu) libcurl/7.18.0 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.1
> > Host: [host.domain]:9000
> > Accept: */*
> > 
> < HTTP/1.1 200 OK
> < Content-Length: 65535
> < Accept-Ranges: bytes
> < Server: OpenXCAP/2.0.0
> < ETag: "[..]"
> < Date: Tue, 23 Oct 2012 09:07:22 GMT
> < Content-Type: application/resource-lists+xml
> 
> We may end up implementing a workaround to obtain this specific data via another route, but if you have any other ideas, I'd be happy to give them a try in case anyone else runs into a similar problem.
> 

I did a quick inspection and I don't see that limitation coming from OpenXCAP... Yeah, testing in production doesn't seem like a good idea :-) I can't suggest anything else at this point, other than setting up a test environment, which can be used to try to figure out what is going on.


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list