225 Commits (04aea8d4df199836da3802f08cb5738eae66fa6c)

Author SHA1 Message Date
René Scharfe da25bdb776 use HOST_NAME_MAX to size buffers for gethostname(2) 8 years ago
Jeff King 6a97da3964 daemon: use an argv_array to exec children 8 years ago
Jeff King 6bdb0083be daemon: detect and reject too-long paths 8 years ago
Lars Schneider 81c634e94f pkt-line: rename packet_write() to packet_write_fmt() 8 years ago
Eric Wong 49c58d86ce daemon: ignore ENOTSOCK from setsockopt 9 years ago
Jeff King 5ce5f5fa5a common-main: call git_setup_gettext() 9 years ago
Jeff King 57f5d52a94 common-main: call sanitize_stdfds() 9 years ago
Jeff King 650c449250 common-main: call git_extract_argv0_path() 9 years ago
Jeff King 3f2e2297b9 add an extra level of indirection to main() 9 years ago
Eric Wong a43b68a196 daemon: enable SO_KEEPALIVE for all sockets 9 years ago
Jeff King 850d2fec53 convert manual allocations to argv_array 9 years ago
Junio C Hamano 8f309aeb82 strbuf: introduce strbuf_getline_{lf,nul}() 9 years ago
René Scharfe b1b49ff8d4 daemon: plug memory leak 9 years ago
Jeff King f063d38b80 daemon: use cld->env_array when re-spawning 9 years ago
Jeff King 5096d4909f convert trivial sprintf / strcpy calls to xsnprintf 9 years ago
Junio C Hamano 1f76a10b2d write_file(): drop caller-supplied LF from calls to create a one-liner file 10 years ago
Junio C Hamano 12d6ce1dba write_file(): drop "fatal" parameter 10 years ago
Junio C Hamano d358f771e3 daemon: unbreak NO_IPV6 build regression 10 years ago
René Scharfe 01cec54e13 daemon: deglobalize hostname information 10 years ago
René Scharfe 7a646cec5b daemon: use strbuf for hostname info 10 years ago
René Scharfe dc8edc8f7d daemon: use callback to build interpolated path 10 years ago
René Scharfe edef953e48 daemon: look up client-supplied hostname lazily 10 years ago
Jeff King b485373052 daemon: sanitize incoming virtual hostname 10 years ago
Nguyễn Thái Ngọc Duy 91aacda85a use new wrapper write_file() for simple file writing 10 years ago
René Scharfe 107efbeb24 daemon: remove write-only variable maxfd 10 years ago
René Scharfe 9d1b9aa9e1 daemon: fix error message after bind() 10 years ago
René Scharfe eb6c403500 daemon: handle gethostbyname() error 10 years ago
René Scharfe d318027932 run-command: introduce CHILD_PROCESS_INIT 11 years ago
Tanay Abhra 8939d32d81 daemon.c: replace `git_config()` with `git_config_get_bool()` family 11 years ago
Jeff King 28bf9429ef avoid double close of descriptors handed to run_command 11 years ago
Jeff King d12c24d2a9 daemon: use skip_prefix to avoid magic numbers 11 years ago
Jeff King ae021d8791 use skip_prefix to avoid magic numbers 11 years ago
Jeff King 1055a890f0 daemon: mark some strings as const 11 years ago
Jeff King 88d5a6f6cd daemon/config: factor out duplicate xstrdup_tolower 11 years ago
Nguyễn Thái Ngọc Duy de0957ce2e daemon: move daemonize() to libgit.a 11 years ago
Nguyễn Thái Ngọc Duy 82246b765b daemon: be strict at parsing parameters --[no-]informative-errors 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Thomas Rast 1d999ddd1d daemon/shell: refactor redirection of 0/1/2 from /dev/null 12 years ago
Stefan Beller 5d9cfa29d2 daemon.c:handle: Remove unneeded check for null pointer. 12 years ago
David Michael 3b130ade45 git-compat-util.h: Provide missing netdb.h definitions 12 years ago
Jeff King 4981fe750b pkt-line: share buffer/descriptor reading implementation 12 years ago
Jeff King 74543a0423 pkt-line: provide a LARGE_PACKET_MAX static buffer 12 years ago
Jeff King 819b929d33 pkt-line: teach packet_read_line to chomp newlines 12 years ago
Junio C Hamano 93741e4a91 daemon: --access-hook option 13 years ago
Clemens Buchacher f6a34cfbb4 git-daemon: produce output when ready 13 years ago
Ævar Arnfjörð Bjarmason 5e9637c629 i18n: add infrastructure for translating Git with gettext 13 years ago
Jeff King d5570f4d2c daemon: give friendlier error messages to clients 13 years ago
Erik Faye-Lund 1c64b48e67 enter_repo: do not modify input 14 years ago
Nguyễn Thái Ngọc Duy 089d82e8a6 daemon: log errors if we could not use some sockets 14 years ago
Nguyễn Thái Ngọc Duy 723f7a1387 daemon: return "access denied" if a service is not allowed 14 years ago