Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/js/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

var net = require('net');
var ClientRequest = require('http_client').ClientRequest;
var HTTPParser = require('httpparser');
var HTTPParser = require('http_parser');
var HTTPServer = require('http_server');
var util = require('util');

Expand Down
2 changes: 1 addition & 1 deletion src/js/http_client.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var util = require('util');
var OutgoingMessage = require('http_outgoing').OutgoingMessage;
var common = require('http_common');
var HTTPParser = require('httpparser').HTTPParser;
var HTTPParser = require('http_parser').HTTPParser;

function ClientRequest(options, cb, socket) {
OutgoingMessage.call(this);
Expand Down
2 changes: 1 addition & 1 deletion src/js/http_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

var util = require('util');
var IncomingMessage = require('http_incoming').IncomingMessage;
var HTTPParser = require('httpparser').HTTPParser;
var HTTPParser = require('http_parser').HTTPParser;

var createHTTPParser = function() {
// REQUEST is the default type.
Expand Down
2 changes: 1 addition & 1 deletion src/js/https.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var tls = require('tls');
var net = require('net');
var ClientRequest = require('http_client').ClientRequest;
var HTTPParser = require('httpparser');
var HTTPParser = require('http_parser');
var HTTPServer = require('http_server');
var util = require('util');

Expand Down
14 changes: 7 additions & 7 deletions src/modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,15 +172,15 @@
"http": {
"js_file": "js/http.js",
"require": ["http_client", "http_common", "http_incoming",
"http_outgoing", "http_server", "httpparser"]
"http_outgoing", "http_server", "http_parser"]
},
"http_client": {
"js_file": "js/http_client.js",
"require": ["http_common", "http_outgoing", "httpparser", "net", "util"]
"require": ["http_common", "http_outgoing", "http_parser", "net", "util"]
},
"http_common": {
"js_file": "js/http_common.js",
"require": ["http_incoming", "httpparser"]
"require": ["http_incoming", "http_parser"]
},
"http_incoming": {
"js_file": "js/http_incoming.js",
Expand All @@ -194,13 +194,13 @@
"js_file": "js/http_server.js",
"require": ["http_common", "http_outgoing", "net", "util"]
},
"httpparser": {
"native_files": ["modules/iotjs_module_httpparser.c"],
"init": "InitHttpparser"
"http_parser": {
"native_files": ["modules/iotjs_module_http_parser.c"],
"init": "InitHttpParser"
},
"https": {
"js_file": "js/https.js",
"require": ["http_client", "httpparser", "http_server", "net", "tls"]
"require": ["http_client", "http_parser", "http_server", "net", "tls"]
},
"i2c": {
"platforms": {
Expand Down
Loading