forked from rryqszq4/ngx-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
321 lines (177 loc) · 10.3 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
ngx-php 0.0.28 changes:
* Support php version 8.3.0 [@joanhey] 5 Dec 2023
ngx_php7 0.0.27 changes:
* Support php version 8.2.0 14 Apr 2023
ngx_php7 0.0.26 changes:
* Support php version 8.1.0 30 Nov 2021
ngx_php7 0.0.25 changes: 11 Dec 2020
* Support php version 8.0.0
ngx_php7 0.0.24 changes: 11 Sep 2020
* Fixed php bug 66673.
* Fixed post args is null and response is 500.
* Fixed bug when the value of cookie is null.
* Add mac oxs install detail.
* Add function ngx_request_body.
* Support PATCH in http method.
* Support compiled pass of php8.
ngx_php7 0.0.23 changes: 13 Mar 2020
* Fixed support unix sock and test mysql unix sock.
* Fixed default return value of ngx_query_args and ngx_post_args.
* Fixed php socket change to be type of resource.
* Fixed mysql connection handsharke failed and log record.
* Fixed ngx_redirect error.
* Add directive php_socket_keepalive.
* Add directive php_socket_buffer_size.
* Add impl ngx_status.
* Add impl yield ngx_socket_recvpage.
* Add method mysql::query2.
ngx_php7 0.0.22 changes: 11 Nov 2019
* Add impl ngx_socket_recvsync.
* Optimize the performance of mysql async driver.
ngx_php7 0.0.21 changes: 4 Nov 2019
* Add directive init_worker_by_php_block.
* Add directive rewrite_by_php_block.
* Add directive access_by_php_block.
* Add directive content_by_php_block.
* Add directive log_by_php_block.
* Add directive header_filter_by_php_block.
* Add directive body_by_php_block.
* Fixed support startup opcache, thanks joanhey.
* Optimize mysql driver.
* Optimize redis driver.
ngx_php7 0.0.20 changes: 17 Oct 2019
* Add directive php_set, php_rewrite, php_access, php_content, php_log, php_header_filter, php_body_filter and php_body_filter.
* Add impl ngx_cookie_set, ngx_cookie_get, ngx_cookie_get_all.
* Add impl ngx_msleep.
* Add redis non-block driver.
* Fixed remove time event and usage of read event.
* Fixed in mysql driver more than double query will fail. Should be reset.
* Fixed ngx_php tcp socket timeout.
ngx_php7 0.0.19 changes: 26 Aug 2019
* Add nginx directive php_keepalive.
* Add php impl ngx_socket_iskeepalive.
* Fixed parse failure when query_args is null.
* Fixed set end of request position error.
* Fixed error about php-7.4.0beta4.
* Document update.
ngx_php7 0.0.18 changes: 10 Jun 2019
* Fixed error about php-7.3.6
ngx_php7 0.0.17 changes: 01 Jun 2019
* Add php impl ngx_redirect.
* Fixed mysql handshake error.
* Fixed add handler post data at rewrite and access phase.
* Fixed the directive rewrite_by_php has not been extended in context configuration.
* Fixed error handler coredump.
* Fixed ngx_exit memory leak.
* Fixed socket receive memory leak.
ngx_php7 0.0.16 changes: 01 Feb 2019
* Add php impl ngx_header_set, ngx_header_get and ngx_header_gets.
* Fixed when php script was error, response return 500 code.
* Fixed core dump at php error handler.
* Fixed nginx request keepalive to close by the right way.
ngx_php7 0.0.15 changes: 12 Jan 2019
* Fixed compiled pass on freebas 11.2 and used of clang compiler.
* Added Dockerfile by kjdev.
* Fixed support compile with php version 7.3.* .
* Code review.
ngx_php7 0.0.14 changes: 14 Dec 2018
* Add php function ngx_socket_*, ngx_request_*, ngx_var_*, ngx_log_*, ngx_query_args,
ngx_post_args and so on.
* Fixed ngx_socket api to support full fuplex socket.
* Fixed compiled on ubuntu of 16.04 version.
* Pass FrameworkBenchmarks test.
ngx_php7 0.0.13 changes: 15 Sep 2018
* Add directive header_filter_by_php, body_filter_by_php, init_worker_by_php, log_by_php.
* Add php impl ngx_var::get, ngx_var::set.
* Supports dynamic module by kjdev.
* Hello world test performance.
ngx_php7 0.0.12 changes: 10 Apr 2018
* Add php impl ngx_socket::connect, ngx_socket::send, ngx_socket::recv, ngx_socket::close.
* Add php impl ngx::post_args.
* Hidden main function definition, ex: 'ngx_content_2067061a67861d80610804313d66a8f7'.
* Fixd at zend_uthread, valid before change to valid after in zend_uthread_resume function, yield;ngx::sleep change to yield ngx::sleep.
ngx_php7 0.0.11 changes: 12 Jan 2018
* Add php impl ngx_request for replace $_SERVER, not support $_SERVER.
* Add php impl ngx::sleep with ngx sleep event handler.
* Add php impl ngx::query_args.
* Add macros ngx_php_debug.
* Remove impl ngx_generator class.
2017-03-29 rryqszq4 <[email protected]>
* add ngx_generator for coroutine
* remove directive thread_by_php
* add api ngx_php::main, ngx_php::next for coroutine
2017-03-29 rryqszq4 <[email protected]>
* add ngx_php_uthread is coroutine use of ucontext
* optimize use of uthread in rewrite, access and content handler
* zend engine not support ucontext in one zend vm
* change directive content_thread_by_php to thread_by_php
* delete ngx_location::capture
* bumped version to 0.0.10
2017-02-27 rryqszq4 <[email protected]>
* add ngx_php_thread and ngx_php_thread_pool
* optimize directive content_thread_by_php, content_thread_by_php_file be use to
new thread pool
* remove ngx_capture from content_thread_by_php
* bumped version to 0.0.9
2017-01-30 rryqszq4 <[email protected]>
* dev code "ngx_http_php_output.h", "ngx_http_php_output.c"
* add nginx directive "log_by_php", "log_by_php_file"
* add php api "ngx::_exit"
* optimize nginx request phase, rewrite, access, content, log
* optimize in nginx request process, rewrite, access and content use one zend vm reuqest
* bumped version to 0.0.8
2016-11-09 rryqszq4 <[email protected]>
* fixd ngx_socket_tcp receive complete
* fixd ngx_socket_tcp epoll_wait error and disable keep-alive, when client active close
* add php api "ngx_time::sleep"
* fixed issues #14 core dump, hight concurrence used of ngx_socket_tcp
After system call pthread_cancel, wait for convar_clean and execute php end
* fixed issues #15 ngx_time::sleep can't stop in apache ab test.
* fixed issues #16 ngx_socket_tcp::receive receive data backup not need to parse http header.
* bumped copyright date to 2017.
* bumped version to 0.0.7
2016-10-15 rryqszq4 <[email protected]>
* add php api "ngx_log::error"
* fixd support dns resolver
* add php api "ngx_socket_tcp::settimeout"
* change pthread status joinable to detached
* fixd issues #10 thread deadlock
* fixd issues #11 core dump, main thread waiting for child thread enable , but part of ctx not use.
* bumped version to 0.0.6
2016-09-16 rryqszq4 <[email protected]>
* dev code "ngx_http_php_stream.h", "ngx_http_php_stream.c"
* fixd php api "ngx_socket_tcp", "::connect, ::send, ::receive, ::close" support rediscovery
* add nginx directive "content_thread_by_php", "content_thread_by_php_file"
* fixd "ngx_socket_tcp::send" send pack error
* fixd server active push to client about "ngx_socket_tcp::receive"
* bumped version to 0.0.5
2016-05-30 rryqszq4 <[email protected]>
* change nginx directive "php_init_code"=>"init_by_php", "php_init_file"=>"init_by_php_file", "php_rewrite_handler"=>"rewrite_by_php_file", "php_rewrite_handler_code"=>"rewrite_by_php", "php_access_handler"=>"access_by_php_file", "php_access_handler_code"=>"access_by_php", "php_content_handler"=>"content_by_php_file", "php_content_handler_code"=>"content_by_php","php_set_code"=>"set_by_php", "php_set_run_code"=>"set_run_by_php", "php_set_file"=>"set_by_php_file", "php_set_run_file"=>"set_run_by_php_file"
* add nginx directive "content_async_by_php"
* add php api "ngx_location::capture_async", "ngx_location::capture_multi_async"
* add php api "ngx_location::capture", "ngx_location::capture_multi"
* add php api "ngx_socket_tcp", "::connect, ::send, ::receive, ::close"
* merge docker file
* bumped version to 0.0.4
2016-05-22 rryqszq4 <[email protected]>
* append ngx_devel_kit-0.2.19 module
* append $_SERVER['SCRIPT_NAME']
* add nginx directive "php_set_code", "php_set_run_code", "php_set_file", "php_set_run_file"
* support and test framework yaf and yii-1
* bumped version to 0.0.3
2016-05-8 rryqszq4 <[email protected]>
* complie php5.3~5.6 nginx1.4~1.9
* fixed: error call headers_sent()
* support php session
* fixed: support php://input
* append $_SERVER['QUERY_STRING'], $_SERVER['CONTENT_TYPE'], $_SERVER['CONTENT_LENGTH'],$_SERVER['DOCUMENT_ROOT']
* fixed: core dump: buffer end '\0'
* bumped version to 0.0.2
2016-04-11 rryqszq4 <[email protected]>
* add nginx directive "php_ini_path", "php_init_code", "php_init_file", "php_rewrite_handler", "php_rewrite_handler_code", "php_access_handler", "php_access_handler_code", "php_content_handler", "php_content_handler_code"
* rewrite php SAPI function or prototype ub_write, flush, register_server_variables, read_post, read_cookies, header_handler, php_ini_path_override
* custom function point zend_error_cb
* RFC 1867 protocol file upload
* Test::Nginx for test
* test[hello, ini, $_GET, $_POST, $_SERVER, $_COOKIE, $_FILES, error]
* bumped version to 0.0.1