You seem to be right. I have submitted a pull request for Jeff
Could you submit another one (I'm pretty new to CVS, and have sadly too little free time to dig in)?
cjson_encode(),
server.c:
233 /* fill in compressed length */
234 *obj_clen = htole32(comp_len);
It's little mismatched with whole idea. Instead of
comp_len,
unc_len should be there.
Must be too late in night, when this part was written.