fastcgi-client
Advanced tools
Comparing version 0.0.1 to 0.2.0
@@ -60,3 +60,3 @@ 'use strict'; | ||
var len = data.length; | ||
var sendMessage = function(data, start, end){ | ||
var sendMessage = function(data, start, end, cb){ | ||
var contentLen = end - start; | ||
@@ -81,5 +81,5 @@ var paddingLen = (8 - (contentLen % 8)) % 8; | ||
for(var start=0; start < len - 0xffff; start += 0xffff) { | ||
sendMessage(data, start, start + 0xffff); | ||
sendMessage(data, start, start + 0xffff, null); | ||
} | ||
sendMessage(data, start, len); | ||
sendMessage(data, start, len, cb); | ||
}; | ||
@@ -86,0 +86,0 @@ |
{ | ||
"name": "fastcgi-client", | ||
"description": "A FastCGI client implementation in Node.js, mainly designed for cummunication with PHP.", | ||
"author": "LastLeaf <bqfu@163.com> http://lastleaf.me", | ||
"author": "LastLeaf <bqfu@163.com>", | ||
"homepage": "https://github.com/LastLeaf/node-fastcgi-client", | ||
"repository": { "type": "git", "url": "https://github.com/LastLeaf/node-fastcgi-client.git" }, | ||
"license": "MIT", | ||
"version": "0.0.1", | ||
"engines": { | ||
"node": "^0.10.0 || ^4.0.0 || ^5.0.0" | ||
}, | ||
"version": "0.2.0", | ||
"main": "lib/main.js", | ||
"types": "types/main.d.ts", | ||
"dependencies": {}, | ||
@@ -13,0 +12,0 @@ "devDependencies": { |
@@ -7,4 +7,8 @@ # node-fastcgi-client | ||
Developing. Would be stable soon. | ||
Not actively developing, and I have been away from PHP projects since 2018. | ||
However, there are still some issues and pull requests from many developers, so I decide not to archive this repo. | ||
Also, I believe it is a small and stable protocol, and it can still work for many years. | ||
# API | ||
@@ -11,0 +15,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25664
793
50
15