Middleware SetServerPortMiddleware for automatic setting SERVER_PORT in server parameters bag if it does not set before (value based on request schema; this middleware fixes empty port value like https://127.0.0.1:/ when exposed default port without set SERVER_PORT)
Environment variable RR_WORKER_CLASS supports for overriding default worker class (watch in ./bin/rr-worker)
Docker-based environment for development
Project Makefile
Changed
Allowed RR configuration options (http.fcgi.*, http.http2.*, headers.*) (do not forget update your existing config files)
Description
Added
SetServerPortMiddleware
for automatic settingSERVER_PORT
in server parameters bag if it does not set before (value based on request schema; this middleware fixes empty port value likehttps://127.0.0.1:/
when exposed default port without setSERVER_PORT
)RR_WORKER_CLASS
supports for overriding default worker class (watch in./bin/rr-worker
)Makefile
Changed
http.fcgi.*
,http.http2.*
,headers.*
) (do not forget update your existing config files)Laravel
version now is5.5.x
spiral/roadrunner
version now is^1.4.6
SetServerPortMiddleware
middlewareRULE_METHOD_PREFIX
inCallbacksInitializer
class now protectedBOOL_OPTION_INVERT_LOGIC_NAME_PREFIX
andOPTIONS_PREFIX
inStartOptions
class now protectedstart()
must returnsvoid
inWorkerInterface
interfaceRemoved
avto-dev/dev-tools
Checklist