summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Pavel Šimerda [Tue, 14 Jan 2014 14:34:52 +0000 (15:34 +0100)]
core: sort IPv6 paths before IPv4 paths
Pavel Šimerda [Tue, 14 Jan 2014 14:01:13 +0000 (15:01 +0100)]
dns: disable domain search in ares
We need to avoid prioritizing search domain based results in one
protocol over global results in another. The simplest way is to disable
the domain search feature in ares as we don't need it in this stage of
development.
Pavel Šimerda [Wed, 25 Dec 2013 17:16:12 +0000 (18:16 +0100)]
cli: support long options
Pavel Šimerda [Mon, 13 Jan 2014 11:53:26 +0000 (12:53 +0100)]
compat: add some comments to libc implementation
Pavel Šimerda [Mon, 13 Jan 2014 11:23:50 +0000 (12:23 +0100)]
update README and TODO
Pavel Šimerda [Wed, 11 Dec 2013 11:49:11 +0000 (12:49 +0100)]
refactor libc compatibility library
Implement the following building blocks that can be used by other
getaddrinfo-like and gethostbyname-like functions in the future:
* netresolve_query_getaddrinfo
* netresolve_query_getaddrinfo_done
* netresolve_query_getaddrinfo_free
* netresolve_query_gethostbyname
* netresolve_query_gethostbyname_done
* netresolve_query_gethostbyname_free
Pavel Šimerda [Wed, 11 Dec 2013 15:13:59 +0000 (16:13 +0100)]
rename netresolve_query_cancel to netresolve_query_done
The new name better matches what the function should do. When the
current limitation of not supporting concurrent queries on a single
channel is lifted, this function will be used to free the query
resourced.
Pavel Šimerda [Wed, 20 Nov 2013 11:52:57 +0000 (12:52 +0100)]
rework the API
The API is now channel/query based even though the implementation is not
yet ready for that and you still need one channel per concurrent query.
That is why `netresolve_query_t` is currently defined the same way as
`netresolve_channel_t`.
Various other API bits have been cleaned up. README and TODO have been
updated.
Pavel Šimerda [Tue, 26 Nov 2013 08:17:26 +0000 (09:17 +0100)]
switch to the BSD 2-clause license
Pavel Šimerda [Mon, 25 Nov 2013 10:45:27 +0000 (11:45 +0100)]
avoid segfaults
Pavel Šimerda [Wed, 20 Nov 2013 06:40:46 +0000 (07:40 +0100)]
dns: add basic support for SRV records
Pavel Šimerda [Thu, 21 Nov 2013 23:39:42 +0000 (00:39 +0100)]
extend path with priority and weight
Pavel Šimerda [Thu, 21 Nov 2013 23:34:42 +0000 (00:34 +0100)]
turn flags into separate APIs
Pavel Šimerda [Wed, 20 Nov 2013 08:19:35 +0000 (09:19 +0100)]
former posix compatibility library is now libc compatibility library
There can be also functions not included in POSIX.
Pavel Šimerda [Sat, 9 Nov 2013 14:41:58 +0000 (15:41 +0100)]
update README and TODO
Pavel Šimerda [Thu, 14 Nov 2013 13:02:33 +0000 (14:02 +0100)]
report errors when backend finished/failed out of order
Pavel Šimerda [Mon, 18 Nov 2013 16:56:41 +0000 (17:56 +0100)]
security: use secure_getenv instead of getenv
Pavel Šimerda [Tue, 12 Nov 2013 09:05:43 +0000 (10:05 +0100)]
trivial: fix utils headers
Pavel Šimerda [Thu, 14 Nov 2013 19:37:34 +0000 (20:37 +0100)]
trivial: update .vimrc
Pavel Šimerda [Thu, 14 Nov 2013 19:35:15 +0000 (20:35 +0100)]
trivial: update .gitignore
Pavel Šimerda [Mon, 11 Nov 2013 06:22:46 +0000 (07:22 +0100)]
EXPERIMENTAL: implement happy eyeballs for TCP `connect()`
Pavel Šimerda [Thu, 14 Nov 2013 18:20:46 +0000 (19:20 +0100)]
add netconnect tool for socket API testing
Pavel Šimerda [Sat, 16 Nov 2013 16:55:33 +0000 (17:55 +0100)]
improve debugging
Pavel Šimerda [Thu, 14 Nov 2013 18:40:41 +0000 (19:40 +0100)]
fix make distcheck
Pavel Šimerda [Thu, 14 Nov 2013 17:41:22 +0000 (18:41 +0100)]
move request debugging to the library
Pavel Šimerda [Sat, 16 Nov 2013 16:31:31 +0000 (17:31 +0100)]
call backend_cleanup() only from backend.c
Pavel Šimerda [Sat, 16 Nov 2013 17:08:47 +0000 (18:08 +0100)]
return bool from _netresolve_dispatch_fd()
Pavel Šimerda [Sat, 16 Nov 2013 17:07:27 +0000 (18:07 +0100)]
internal API for adding/removing timeouts
Pavel Šimerda [Sat, 16 Nov 2013 16:55:00 +0000 (17:55 +0100)]
exec: unwatch and close sockets exactly once
Pavel Šimerda [Sat, 16 Nov 2013 16:54:00 +0000 (17:54 +0100)]
exec: parse returned path lines
Pavel Šimerda [Thu, 14 Nov 2013 18:50:40 +0000 (19:50 +0100)]
convert port numbers using htons
Also change the testing port to a nonprivileged one.
Pavel Šimerda [Thu, 14 Nov 2013 13:03:00 +0000 (14:03 +0100)]
rename state RESOLVING to WAITING
Socket connection API will use that state as well.
Pavel Šimerda [Wed, 13 Nov 2013 19:12:39 +0000 (20:12 +0100)]
`bind()` directly from `netresolve_backend_add_path()`
Pavel Šimerda [Wed, 13 Nov 2013 17:35:53 +0000 (18:35 +0100)]
ignore AF_UNSPEC family requests in `unix` backend
This could cause problems to applications that expect AF_INET or
AF_INET6 only. The option to use `unix` backend for AF_UNSPEC should be
opt-in, not opt-out.
Reported-by: Miloslav Trmač <mitr@redhat.com>
Pavel Šimerda [Tue, 12 Nov 2013 08:01:52 +0000 (09:01 +0100)]
trivial: only use netresolve_backend_t in backend.c
Pavel Šimerda [Mon, 11 Nov 2013 15:02:54 +0000 (16:02 +0100)]
rename libnetresolve-getaddrinfo to libnetresolve-posix
Add `gethostbyname()` implementation as well.
Pavel Šimerda [Mon, 11 Nov 2013 08:49:11 +0000 (09:49 +0100)]
sanity check epoll file descriptor count
Pavel Šimerda [Mon, 11 Nov 2013 04:25:01 +0000 (05:25 +0100)]
refactor state handling
Pavel Šimerda [Fri, 8 Nov 2013 21:51:53 +0000 (22:51 +0100)]
update README
Pavel Šimerda [Fri, 8 Nov 2013 17:04:02 +0000 (18:04 +0100)]
avoid structs with identical name in backends
Reported-by: little.owl
Pavel Šimerda [Fri, 8 Nov 2013 16:57:27 +0000 (17:57 +0100)]
fix e-mail address in configure.ac
Pavel Šimerda [Thu, 7 Nov 2013 06:24:47 +0000 (07:24 +0100)]
add nonblocking socket API
Use the new callbacks to pick up file descriptors of newly bound or
connected sockets.
Pavel Šimerda [Wed, 6 Nov 2013 10:41:05 +0000 (11:41 +0100)]
update TODO
Pavel Šimerda [Wed, 6 Nov 2013 11:02:44 +0000 (12:02 +0100)]
add LGPL2.1+ license headers to source files and README
Pavel Šimerda [Wed, 6 Nov 2013 10:15:27 +0000 (11:15 +0100)]
change 'Data *data' to 'struct priv *priv'
Reported-by: Jiri Pirko <jiri@resnulli.us>
Pavel Šimerda [Tue, 24 Sep 2013 23:07:31 +0000 (01:07 +0200)]
initial commit
This page took 0.298366 seconds and 5 git commands to generate.