Brendan McAdams is sharing code with you
Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.
Don't show this again| Filename | Size | Date modified | Message |
|---|---|---|---|
| README | 6.3 KB | - Mostly "finished". * URLDecoding works * MIME Detection works using libmagic * Returning files... uhm.. sort of works + Having some kind of issue where the first few bytes of the file are corrupted/munged somewhere between Mongo and the C code getting it back. I disabled mime_magic and it isn't causing the issue. It almost looks like something isn't getting enough memory allocated. | |
| build-lighttpd-1_4_19.patch | 5.4 KB | Initial checkin, not the complete backend code yet but want to get a repository created. Working on some finish-up of the GridFS portion. | |
| build_gridfs_config.py | 264 B | - Tracking down final elusive bug (crashy type) | |
| gridfs_c_helpers.cpp | 3.5 KB | - Seems that the contents of the gridfile were acting weird because the string went out of scope. Now strdup() wrapping the creation of it's c_str() in the gridfile_t return struct. Which fixes the issue. Needs to be freed of course when done. | |
| gridfs_c_helpers.h | 1.1 KB | - Mostly "finished". * URLDecoding works * MIME Detection works using libmagic * Returning files... uhm.. sort of works + Having some kind of issue where the first few bytes of the file are corrupted/munged somewhere between Mongo and the C code getting it back. I disabled mime_magic and it isn't causing the issue. It almost looks like something isn't getting enough memory allocated. | |
| mod_gridfs.c | 26.6 KB | - Tracking down final elusive bug (crashy type) | |
| test.conf | 5.2 KB | - Seems that the contents of the gridfile were acting weird because the string went out of scope. Now strdup() wrapping the creation of it's c_str() in the gridfile_t return struct. Which fixes the issue. Needs to be freed of course when done. |


