Commit Graph

148 Commits (fd63810d891cb0758a77be6cbf66f1fdd81f5c7e)

Author SHA1 Message Date
Felix von Leitner fd63810d89 try to catch malicious input in textcode fmt_* functions 2007-06-28 21:00:40 +00:00
Felix von Leitner 0f90f8eb71 escape more in fmt_ldapescape 2007-06-28 20:01:05 +00:00
Felix von Leitner 2fd48c7e57 use inttypes.h to declare ints in uint*.h 2007-06-28 13:38:08 +00:00
Felix von Leitner 7109a42c30 fmt_ip6 compresses at best spot, not at first spot (Nikola Vladov) 2007-03-04 13:13:19 +00:00
Felix von Leitner b5c41baade add some int overflow check macros to rangecheck.h 2007-01-26 01:12:15 +00:00
Felix von Leitner f064289d07 fix really pathological case where io_timeouted would never
start over from the beginning because always new accept()ed
    connections came in and got newer, higher descriptors since the last
    io_timeouted loop.  (Dirk Engling)
2007-01-24 18:28:39 +00:00
Felix von Leitner f355b0b098 version bump 2007-01-12 02:15:57 +00:00
Felix von Leitner 51609b5628 add iob_bytesleft
don't leak memory in test/httpd.c
2006-12-19 13:19:32 +00:00
Felix von Leitner 0698149baf switch to size_t and ssize_t 2006-11-07 17:56:05 +00:00
Felix von Leitner d1aef8af83 add asm versions of imult64 and umult64 for x86_64
(22 cycles -> 12 cycles on my Athlon 64)
2006-08-27 13:57:06 +00:00
Felix von Leitner 56fb0a586d fix for NetBSD 3.0 (they broke their sys/types.h)
remove support for ip6.int reverse lookup in DNS routines (the domain is
no longer delegated)
2006-06-23 03:53:16 +00:00
Felix von Leitner 071df9ee4a make socket_(tc|ud)p[46] actually return non-blocking sockets as
documented (Richard Lyons)
2006-05-18 06:02:43 +00:00
Felix von Leitner 132a7ca159 document adding io_block
add rangecheck install target to GNUmakefile
cosmetics in rangecheck.h
2006-04-17 05:09:39 +00:00
Felix von Leitner dcbc90e2c6 add rangecheck.h 2006-04-17 04:33:40 +00:00
Felix von Leitner 03806dc0c8 add cdb 2005-11-25 15:02:31 +00:00
Felix von Leitner 97f3315947 add taia_half 2005-10-14 15:37:19 +00:00
Felix von Leitner c89e6b4fcc implement Nikola's idea to remove limit number of strings in errmsg 2005-10-14 15:33:21 +00:00
Felix von Leitner 2e87886163 further Windoze support (test/io5.c works, gatling still doesn't)
This is just to get gatling to work, I may remove it again after
    that.
2005-09-09 22:12:23 +00:00
Felix von Leitner 4653054e12 add -D_REENTRANT to CFLAGS so libowfat can be used in multi-threaded
programs
2005-09-02 21:11:58 +00:00
Felix von Leitner 16168a5610 document changes 2005-08-24 19:22:06 +00:00
Felix von Leitner 93eb7241aa version dump 2005-08-09 18:14:10 +00:00
Felix von Leitner 237ff729b3 turns out the imult routines (which I never used) were incorrect.
Noted by Matthew Dempsky
  open_* from open.h now open in large file mode
2005-07-15 20:57:07 +00:00
Felix von Leitner ee33cae46a document kludge 2005-07-01 19:30:52 +00:00
Felix von Leitner becc322e12 fix scan_to_sa (Tim Lorenz) 2005-06-08 04:08:18 +00:00
Felix von Leitner 3ed5acbc60 version bump 2005-05-24 08:51:21 +00:00
Felix von Leitner 8b2036b21e IRIX compatibility (yuck!) 2005-05-20 14:14:15 +00:00
Felix von Leitner e5c56dc6b0 remove even more warnings
64-bit cleanliness issue with auto-NULL-appending macros
2005-05-12 06:52:29 +00:00
Felix von Leitner 4f5117a604 remove a few gcc 4 warnings
work around freebsd 5.4 brokenness (if you don't have IPv6 in the
    kernel, socket(PF_INET6,SOCK_STREAM,0) returns EPROTONOSUPPORT
    instead of EPFNOSUPPORT, which basically says "yeah, I know IPv6,
    but TCP?  never heard of it")
2005-05-05 15:55:41 +00:00
Felix von Leitner 513ee82192 fix scan_xlong, scan_xlonglong and scan_8long 2005-04-25 19:41:51 +00:00
Felix von Leitner 8b636109ab gcc 4 cleanups (mostly unsigned char* vs char*) 2005-04-23 15:50:16 +00:00
Felix von Leitner 1b1a6bbb3e optimize fmt_base64 (Dan Gundlach) 2005-04-12 06:48:39 +00:00
Felix von Leitner 231339251c fix a few man pages 2005-04-07 06:49:59 +00:00
Felix von Leitner dfa738fe14 turns out there is one more error message that can signal missing IPv6
support in the kernel
2005-04-07 05:52:55 +00:00
Felix von Leitner 7101c05227 version bump 2005-03-11 22:38:36 +00:00
Felix von Leitner d696df703f fix descriptor leak in iob_addfile_close if the range was 0 (oops) 2005-03-11 18:34:34 +00:00
Felix von Leitner 21e8a144c1 fix mmap_shared 2005-03-08 20:09:03 +00:00
Felix von Leitner 61a51950d4 add iob_free and man page for iob_reset.
check in some windoze compat crap (still does not compile through for
windoze)
2005-03-08 14:56:36 +00:00
Felix von Leitner 074eab6681 fix iob_write to handle failure properly
document that the iob_write callback should limit itself
2005-02-22 21:41:57 +00:00
Felix von Leitner a10e005871 document scan_urlencoded2 2005-02-21 13:15:33 +00:00
Felix von Leitner f4ff2afd64 attribute 2005-02-04 19:06:26 +00:00
Felix von Leitner a811de95f1 fix openbsd problem? 2005-02-04 19:04:12 +00:00
Felix von Leitner a211e4c970 uh, the scope_id detection #defined the wrong constant. libowfat
always thought there was no scope_id.  Oops.
2005-02-02 19:34:00 +00:00
Felix von Leitner af61c0cab4 version bump 2005-01-31 18:30:14 +00:00
Felix von Leitner ea6895ba02 fix make tar target 2005-01-31 18:13:46 +00:00
Felix von Leitner 10688c55b8 how could this ever have worked? 2005-01-23 02:45:42 +00:00
Felix von Leitner 562656b531 update dependencies
add errmsg_info and msg
2004-12-25 16:44:07 +00:00
Felix von Leitner f2d7a6b264 add iob_write (send io batch through callback, e.g. for SSL) 2004-11-25 23:01:44 +00:00
Felix von Leitner 645ecc0632 add iob_write (to write an io batch through a callback) 2004-11-25 22:55:46 +00:00
Felix von Leitner b05bf23905 cleanups in stralloc and buffer:
int -> long for sizes
    char -> unsigned char for strings
2004-11-25 21:29:35 +00:00
Felix von Leitner e3b165e9e8 add buffer_putm and buffer_putmflush 2004-11-25 20:51:53 +00:00