There is a limit of 64kb on documents in the DB.

Andy Miller recently added a new configuration file option (sql_buffer_size) that lets you change that.

Increasing the SQL buffer size and using the reg-ex's that I put in my last email should enable you to have avatars/icons with Jitsi.

Regards,

Peter

On Tue, 2011-10-04 at 14:54 +0300, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:

> are the operations related to this only about storing/updating/fetching 
> and removing some xml file/parts per user? If yes, then just the XCAP 
> URL parser should be extended to support the auid, so it should not be 
> complex at all.

i started to work on it.  when i try to put an icon to xcap server, i
get errors

Oct  4 14:45:07 sip /usr/sbin/pres-serv[15261]: ERROR: <core> [tcp_read.c:321]: ERROR: tcp_read: buffer overrun, dropping
Oct  4 14:45:07 sip /usr/sbin/pres-serv[15261]: ERROR: <core> [tcp_read.c:882]: ERROR: tcp_read_req: error reading 
Oct  4 14:45:07 sip /usr/sbin/pres-serv[15262]: ERROR: <core> [tcp_read.c:321]: ERROR: tcp_read: buffer overrun, dropping
Oct  4 14:45:07 sip /usr/sbin/pres-serv[15262]: ERROR: <core>
[tcp_read.c:882]: ERROR: tcp_read_req: error reading

size of the icon is 61572 bytes and content length containing base64
encoded icon is 83285 bytes.  is that too much for sip router or
what could the problem be?

during put operation, wireshark shows lots of red, which means
tcp.flags.reset eq 1.

-- juha

_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Peter Dunkley
Technical Director
Crocodile RCS Ltd