| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- Fix the date format to be compliant with https://tools.ietf.org/html/rfc7231#section-7.1.1.2
- Fix date format length and use GMT time
- Previously, local time was used instead of GMT.
- Remove extra whitespace
- Simplify string appends in php_cli_server.c
|
|
|
|
|
|
| |
The binary can be of course used on console, for whatever reasons, so
UNICODE API should be used in that case. That might however not work as
expected, if the binary is used for a service.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.1:
Fix cli server test fails after recent AppVeyor image update
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fixed bug #76333 PHP built-in server does not find files if root path contains special characters
|
| |
| |
| |
| | |
contains special characters
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
function)"
This reverts commit 816758eda2bcdd69ba505fb6bbb79124a7bf2254.
After this commit relative router scripts were resolved against
docroot rather than shell cwd.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Happy new year (Update copyright to 2018)
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
The HAVE_UNISTD_H check has to be after including config.h.
Also include sys/types.h, which may be needed for setproctitle.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fixed bug #73830 Directory does not exist.
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | | |
* PHP-7.0:
Update NEWS
Fix bug 60471 by correctly identifying unused speculative preconnections
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Correctly identify unused speculative preconnections from browsers
like Chrome and Firefox
* Add a new message to the debug level that is emitted when a TCP
connection is closed without sending any request (a preconnection)
* Fix an issue where the existing debug messages were not being
displayed even when debug mode was enabled
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.1:
Update NEWS
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Fix the version check causing the test fail
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Fix the version check causing the test fail
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
There are still systems delivering buggy console info. If a file was
passed, obviously no interaction is meant.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Update copyright year to 2017
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Update copyright year to 2017
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This warning was about a possible loss of data due to the downcast of `php_socket_t` to `int`. The former maps to a platform specific type, hence, it might downcast from a 64 bit integer to a 32 bit intger.
Fixed possibly overflowing vars
Due to the change from `int` to `php_socket_t` some variables might overflow now. Changed all variables that might be affected.
Revert "Fixed possibly overflowing vars"
This reverts commit bf64fd5984409a208ef32108990a6085b6556273.
Use aliased PHP socket type
Using the alias protects us from changes to the underlying type.
Removed ignored nfds argument
The `nfds` argument to the Win32 `select` function is always ignored, regardless of its actual value. Hence, we should not pass it in the first place. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx for reference.
Target value is not a pointer
Avoid overflow in loop
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
* PHP-7.1:
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
|
| |\ \
| | |/
| | |
| | |
| | |
| | | |
* PHP-7.0:
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Added cleanup
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.0:
Added cleanup
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-7.1:
Added test for bug #74600
|