History log of /libuv/ (Results 3451 – 3475 of 5435)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
dc559a5c18-Dec-2012 Ben Noordhuis

unix: disable relaxed accept() by default

Don't use the relaxed accept() algorithm introduced in be2a217 unless
explicitly requested. It causes a 50+% performance drop on some node.js

unix: disable relaxed accept() by default

Don't use the relaxed accept() algorithm introduced in be2a217 unless
explicitly requested. It causes a 50+% performance drop on some node.js
benchmarks:

$ alias bench='out/Release/node benchmark/http_simple_auto.js \
-c 10 -n 50000 bytes/1 2>&1 | grep Req'

$ UV_TCP_SINGLE_ACCEPT=0 bench
Requests per second: 12331.84 [#/sec] (mean)

$ UV_TCP_SINGLE_ACCEPT=1 bench
Requests per second: 3944.63 [#/sec] (mean)

show more ...

b86ed94917-Dec-2012 Fedor Indutny

kqueue: ignore ENOENT error

File descriptor might be closed during callback, all events that was reported
before the callback are not valid and trying to remove them will result
in E

kqueue: ignore ENOENT error

File descriptor might be closed during callback, all events that was reported
before the callback are not valid and trying to remove them will result
in ENOENT. This error can be safely ignored.

show more ...

273cecc515-Dec-2012 Ben Noordhuis

unix: don't memset(0) in uv_udp_init()

It's inconsistent with other init functions. In particular, it clobbers the
data field.

Fixes #655.

c6c5b7a914-Dec-2012 Ben Noordhuis

Merge branch 'v0.8'


4997738613-Dec-2012 Andrew Shaffer

sunos: properly disarm PORT_LOADED fsevent watcher

Fixes a segmentation fault when the watched entity is changed after the watcher
has been closed.

a3b57dd514-Dec-2012 Ben Noordhuis

test, bench: remove unused includes

f5b6374914-Dec-2012 Ben Noordhuis

test, bench: replace strlen() with sizeof()

0a05b31a14-Dec-2012 Ben Noordhuis

test: fix -Wunused-result warnings

e079a99a13-Dec-2012 Ben Noordhuis

unix: fix event loop stall

Fix a rather obscure bug where the event loop stalls when an I/O watcher is
stopped while an artificial event, generated with uv__io_feed(), is pending.

92fb84b712-Dec-2012 Ben Noordhuis

unix: rework uv_cancel() api

Bert Belder informs me the current approach where a request is immediately
cancelled, is impossible to implement on Windows.

Rework the API to alway

unix: rework uv_cancel() api

Bert Belder informs me the current approach where a request is immediately
cancelled, is impossible to implement on Windows.

Rework the API to always invoke the "done" callback with an UV_ECANCELED error
code.

show more ...

Revision tags: node-v0.8.15, node-v0.9.3, node-v0.8.12, node-v0.8.10, node-v0.9.2, node-v0.8.9, node-v0.9.1, node-v0.8.8
731adaca16-Aug-2012 Fedor Indutny

unix: use select() for specific fds on OS X

kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds
(i.e. /dev/tty, /dev/null, etc). When given such descriptors - start

unix: use select() for specific fds on OS X

kqueue(2) on osx doesn't work (emits EINVAL error) with specific fds
(i.e. /dev/tty, /dev/null, etc). When given such descriptors - start
select(2) watcher thread that will emit io events.

show more ...

52c8a86126-Nov-2012 Ben Noordhuis

unix: add uv_cancel()

a385ae4f09-Dec-2012 Ben Noordhuis

unix: only set SO_REUSEADDR on tcp listen sockets

Avoid the extra syscall, it's a no-op for non-listening sockets.

At least, it should be - it remains to be investigated if a FreeBS

unix: only set SO_REUSEADDR on tcp listen sockets

Avoid the extra syscall, it's a no-op for non-listening sockets.

At least, it should be - it remains to be investigated if a FreeBSD kernel bug
affects ephemeral port allocation inside connect(). See [1] for details.

[1] http://www.freebsd.org/cgi/query-pr.cgi?pr=174087

show more ...

b4168cd608-Dec-2012 Ben Noordhuis

build: rename LINKFLAGS to LDFLAGS

7306c5ff08-Dec-2012 Ben Noordhuis

build: fix `make libuv.so CFLAGS=<options>`

Running a make target that builds the shared object while overriding the CFLAGS
variable from the command line, would fail with a relocation e

build: fix `make libuv.so CFLAGS=<options>`

Running a make target that builds the shared object while overriding the CFLAGS
variable from the command line, would fail with a relocation error:

relocation R_X86_64_32 against `.text' can not be used when making a shared
object; recompile with -fPIC

Fix that by adding -fPIC unconditionally.

show more ...

527a10f904-Dec-2012 Bert Belder

windows: improve / fix uv_interface_addresses

* If GetAdaptersAddresses() failed, it would return UV_OK nonetheless,
but the `adresses` and `count` out parameters would not be set.

windows: improve / fix uv_interface_addresses

* If GetAdaptersAddresses() failed, it would return UV_OK nonetheless,
but the `adresses` and `count` out parameters would not be set.

* When adapters were enabled or added in between the two
GetAdaptersAddresses() calls, it would fail.

* In case of an out of memory situation, libuv would crash with a fatal
error.

* All interface information is now stored in a single heap-allocated
area.

show more ...

c7fca7ad03-Dec-2012 Bert Belder

windows: add some error code mappings

2e4488f304-Dec-2012 Bert Belder

windows: improve / fix uv_interface_addresses

* If GetAdaptersAddresses() failed, it would return UV_OK nonetheless,
but the `adresses` and `count` out parameters would not be set.

windows: improve / fix uv_interface_addresses

* If GetAdaptersAddresses() failed, it would return UV_OK nonetheless,
but the `adresses` and `count` out parameters would not be set.

* When adapters were enabled or added in between the two
GetAdaptersAddresses() calls, it would fail.

* In case of an out of memory situation, libuv would crash with a fatal
error.

* All interface information is now stored in a single heap-allocated
area.

show more ...

0f0fee5403-Dec-2012 Bert Belder

windows: add some error code mappings

44f0fcd029-Nov-2012 Ben Noordhuis

Merge branch 'v0.8'

Conflicts:
src/unix/core.c


deb1c34729-Nov-2012 Ben Noordhuis

sunos: fix uv_getaddrinfo() NULL pointer dereference

99a8d4a829-Nov-2012 Ben Noordhuis

unix: remove unnecessary static var init

wq doesn't have to be initialized, init_once() takes care of that.

Remove the initialization so it goes into .bss instead of .data.

fa11db9026-Nov-2012 Shigeki Ohtsu

test: fix finished consumer number check

2be240d329-Nov-2012 Ben Noordhuis

unix: initialize thread pool mutex and condvar

It accidentally worked before this commit on Linux but not on OS X.

Fixes #637.

3a30258629-Nov-2012 Ben Noordhuis

windows: fix uv_backend_fd() return value

uv__new_artificial_error() returns a uv_err_t, not an int, and we can't use
uv__set_artificial_error() because the uv_loop_t argument is const.

1...<<131132133134135136137138139140>>...218