Andrew Bettison
9ecf9891fb
Add strbuf JSON helper functions
2013-11-07 23:39:53 +10:30
Andrew Bettison
b9faf54c91
Support more HTTP multipart inner headers
...
Now Content-Length and Content-Type are parsed as well as
Content-Disposition
2013-10-28 22:27:27 +10:30
Andrew Bettison
8f60a4ceb5
Fix bugs in new HTTP server MIME body parsing code
...
Fixes 'rhizomeprotocol' test 24 HttpAddLocal. Four tests still fail.
2013-10-28 12:08:57 +10:30
Andrew Bettison
2a9329c0c8
Fix bugs in new HTTP server MIME body parsing code
...
Fixes 'rhizomeprotocol' test 24 HttpImport. Five tests still fail.
2013-10-27 13:19:23 +10:30
Andrew Bettison
e82d22d765
Add alloca_poll_events() macro
2013-10-25 00:19:58 +10:30
Andrew Bettison
fa21bec880
Rewrite HTTP server
2013-10-25 00:19:37 +10:30
Andrew Bettison
0437e4adbb
Add writev_all() function
...
Use it in rhizome_write_manifest_file() instead of two separate write(2)
system calls or buffered stdio.
2013-10-12 03:54:18 +10:30
Andrew Bettison
2b3119b49b
Issue #20 : merge branch 'sockets' into 'development'
...
Daniel's improvements to the local file/abstract socket code, with many
improvements to bring it up to date.
2013-09-19 04:30:14 +09:30
Andrew Bettison
c6666387e8
Add strbuf_append_strftime()
2013-04-04 17:40:58 +10:30
Andrew Bettison
f995a2a42d
More strbuf helper functions
...
strbuf_append_argv()
strbuf_path_join()
2012-12-04 09:47:39 +10:30
Andrew Bettison
0e435683f7
Move toprint functions from log.h to str.h
...
Move alloca_sockaddr() to strbuf_helpers.h
So that stand-alone executables can use them without pulling in the entire
logging framework.
2012-11-20 18:10:08 +10:30
Andrew Bettison
5d62be7b0f
Issue #30 , easy logging of struct sockaddr
2012-10-23 18:07:56 +10:30
Andrew Bettison
62f8d223ea
Improve alloca_toprint() functions
...
Replace "..." quoting with `...` quoting in output, to avoid slosh-escaping the
common double-quote character (") in log output.
Introduce alloca_str_toprint() function that produces an entire null-terminated
string in printable form.
Change various toprint strbuf helper functions to take two optional quote chars
instead of one mandatory.
2012-09-28 17:46:40 +09:30
Andrew Bettison
07349c3aea
Improve copyright attributions and comments
2012-07-30 16:15:42 +09:30
Andrew Bettison
bbd28eed45
Add strbuf_toprint(), strbuf_toprint_quoted(), etc.
2012-07-27 18:04:46 +09:30
Andrew Bettison
99ead3b9b1
Add strbuf_append_shell_quote() function
2012-07-26 18:30:24 +09:30
Andrew Bettison
04b95d2590
Merge branch 'andrew' into 'master'
2012-07-25 18:04:16 +09:30
Andrew Bettison
6de247e576
Improve diagnosis of SEGV failures in tests
2012-07-24 15:39:36 +09:30
Andrew Bettison
5aac5a3854
Unfinished dnahelper implementation
2012-07-18 19:16:30 +09:30
Andrew Bettison
c7488de510
Add strbuf_helpers.[ch]
...
Functions to help assemble strbuf contents.
2012-07-11 14:11:59 +09:30