mirror of
https://github.com/ading2210/libcurl.js.git
synced 2025-05-13 14:30:02 -04:00
limit max connections to 50
This commit is contained in:
parent
582bbd4ecd
commit
d79c07e2a4
5 changed files with 6 additions and 8 deletions
|
@ -16,12 +16,8 @@ You should have received a copy of the GNU Affero General Public License
|
|||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
if (typeof window === "undefined") {
|
||||
throw new Error("NodeJS is not supported. This only works inside the browser.");
|
||||
}
|
||||
|
||||
//everything is wrapped in a function to prevent emscripten from polluting the global scope
|
||||
window.libcurl = (function() {
|
||||
const libcurl = (function() {
|
||||
|
||||
//emscripten compiled code is inserted here
|
||||
/* __emscripten_output__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue