History log of /php-uv/php_uv.c (Results 101 – 125 of 484)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 74096ae9 18-Jan-2015 Bob Weinand

Fix buffer overflow


# 4751e80a 18-Jan-2015 Bob Weinand

Fix various bugs...


# 4332fe7a 18-Jan-2015 Bob Weinand

Current, broken PHP 7 port...


# 42361ad0 17-Nov-2014 Steve Rhoades

fix segfault issue caused by uv_unref deleting resource, resource is freed by destruct_uv


# 2408f16a 14-Nov-2014 Steve Rhoades

Fix issue #36, Fix issue #56, uv_poll no longer allows plainfiles or php related streams resolving a SIGABRT as epoll doesn't support those stream types


# dd9aac9a 13-Nov-2014 Steve Rhoades

Fix Issue #59 segfault on null passed as handle to uv_stdio_new


# 73a295ab 12-Nov-2014 Steve Rhoades

cleanup uv_fs_scandir


# 459b6146 12-Nov-2014 Steve Rhoades

fix uv_fs_scandir


# a25595f4 11-Nov-2014 Daniel Lowrey

Add $offset param to uv_fs_read() to allow seeking on open handles

This change modifies the uv_fs_read() function signature slightly by adding
a new $offset parameter. This allows the sa

Add $offset param to uv_fs_read() to allow seeking on open handles

This change modifies the uv_fs_read() function signature slightly by adding
a new $offset parameter. This allows the same file handle to be reused for
multiple reads. Previously the only way to access a section of a file that
had already been read was to open a new handle.

Old:
uv_fs_read(resoruce $loop, zval $fd, long $length, callable $callback)

New:
uv_fs_read(resoruce $loop, zval $fd, long $offest, long $length, callable $callback)

This change represents a minor BC break for existing code using uv_fs_read().

show more ...


# 59f74ea0 10-Nov-2014 Steve Rhoades

fix issue with uv_loop_new based on 1.0 migration guide, add additional tests


# 1ea6c5ac 07-Nov-2014 Steve Rhoades

update for libuv 1.0.0rc2, updated tests for api changes


# 84d7e09c 07-Nov-2014 Steve Rhoades

saving changes, still 3 failing tests


# bdaf5a0b 21-Aug-2014 Tjerk Meesters

Enabled http parser again


# 39a7fe3c 20-Aug-2014 Tjerk Meesters

Fixed off-by-one buffer issue in uv_exepath()


# 91ee8f49 20-Aug-2014 Tjerk Meesters

Fixed off-by-one overflow, updated test case


# 90f12cb7 19-Aug-2014 Tjerk Meesters

Moving parser functionality in a separate file (part 1)


# cf36261e 10-Jun-2014 Daniel Lowrey

Fix accidental chmod changes


# 79853fb1 08-May-2014 Daniel Lowrey

Don't crash if work queue function fatals in thread


# 1fbd5859 08-May-2014 Daniel Lowrey

Fix copy/paste error message typo


# 1e32c246 07-May-2014 Daniel Lowrey

Add signal handling support

- resource uv_signal_init([resource $loop])
- void uv_signal_start(resource $sigHandle, callable $onSignal, int $signal)
- void uv_signal_stop($signalReso

Add signal handling support

- resource uv_signal_init([resource $loop])
- void uv_signal_start(resource $sigHandle, callable $onSignal, int $signal)
- void uv_signal_stop($signalResource)

Example:

<?php
$sigHandle = uv_signal_init();
$onSigint = function($sigHandle, $sigNum) {
printf("Caught signal: %d\n", $sigNum);
uv_signal_stop($sigHandle);
uv_stop();
};
uv_signal_start($sigHandle, $onSigint, UV::SIGINT);
uv_run();

New signal constants (these vary by OS):

<?php
$refl = new ReflectionClass('UV');
print_r($refl->getConstants());

show more ...


# 096eedc2 07-May-2014 Daniel Lowrey

Add uv_stop()


# 2b04d129 27-Feb-2014 Shuhei Tanuma

[http parser] add http version


# 951622a3 25-Feb-2014 Shuhei Tanuma

improve http parser:

* support multiple line header field and value.
* support http upgrade mechanism (you have to parse websocket protocol manually)


# fe317d62 25-Feb-2014 Shuhei Tanuma

add upgrade key


# edf8f7fa 04-Jan-2014 Shuhei Tanuma

add note


12345678910>>...20