forked from VKCOM/kphp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactored class Process: 1. Deleted unnecessary function run_cmd(). 2. Fixed the definition of the process id using the lsof call relative to the listening port. 3. Added exception throwing and corrected syntax. Added a test for the CURLOPT_WRITEHEADER option: 1. It works by analogy with the test for CURLOPT_FILE. 2. The response headers are written to the file, but kphp returns more information => only the beginning of the file is checked. All tests now take 60 ms to start the server.
- Loading branch information
Showing
1 changed file
with
67 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters