Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Commit

Permalink
set the https.request agent = false; allowing full parallel facebook …
Browse files Browse the repository at this point in the history
…requests
  • Loading branch information
tenorviol committed May 2, 2011
1 parent a49cd47 commit 78aca24
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
5 changes: 5 additions & 0 deletions HISTORY.md
@@ -1,3 +1,8 @@
0.3.2 / 2011-05-02
------------------

* setting the { agent: false } on https requests to Facebook (experimental)

0.3.1 / 2011-04-19 0.3.1 / 2011-04-19
------------------ ------------------


Expand Down
5 changes: 5 additions & 0 deletions TODO.md
@@ -0,0 +1,5 @@

* test the new { agent: false } thing.
* two tests are now failing:
rewrite tests for constantly shifting Facebook api
(consult original php-sdk unit tests)
3 changes: 2 additions & 1 deletion lib/facebook.js
Expand Up @@ -510,7 +510,8 @@ Facebook.prototype = {
host: parts.hostname, host: parts.hostname,
port: parts.port ? parts.port : port, port: parts.port ? parts.port : port,
path: parts.pathname, path: parts.pathname,
method: 'POST' method: 'POST',
agent: false
}; };


// TODO: header 'Expect: 100-continue'? This was a part of the original curl makeRequest // TODO: header 'Expect: 100-continue'? This was a part of the original curl makeRequest
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "facebook-sdk", "name": "facebook-sdk",
"description": "A full port of Facebook's PHP SDK library", "description": "A full port of Facebook's PHP SDK library",
"keywords": ["facebook", "sdk", "graph", "api", "connect", "canvas"], "keywords": ["facebook", "sdk", "graph", "api", "connect", "canvas"],
"version": "0.3.1", "version": "0.3.2",
"author": "Christopher Johnson <tenorviol@yahoo.com> (http://github.com/tenorviol)", "author": "Christopher Johnson <tenorviol@yahoo.com> (http://github.com/tenorviol)",
"repository" : { "repository" : {
"type" : "git", "type" : "git",
Expand Down

0 comments on commit 78aca24

Please sign in to comment.