Skip to content

Instantly share code, notes, and snippets.

@kaven276
kaven276 / gist:8e3aabd42ee7e1b6251caa4003c38432
Created May 15, 2020 02:00
请协助删除mbss-h5项目的所有fork或其他所有copy
@edwin @hwedwin
您好:
我在这个网址下 https://github.com/hwedwin/mbss-h5/network/members
发现了我公司开发的软件项目,该项目为我公司为客户定制开发,
公开该项目(mbss-h5)涉及隐私以及法律风险,
From 5720c3794c7e34411c37276f9362165cb1add7b8 Mon Sep 17 00:00:00 2001
From: Li Yong <kaven276@vip.sina.com>
Date: Sun, 8 Jan 2012 20:44:36 +0800
Subject: [PATCH] soap server can have async operation in fiber.
A soap server function often have to call other network service for example db server to help process the soap request, but in node's "soap", it call the server function and get the return value in sync way, it will not to wait the async process to finish, using node's fibers module, we can let soap(server.js) to wait the server function to finish it's async operation, and then got the return value.
Note that fibers will not block, so it's safe. But fibers say he will support linux/unix/osx, but not windows (maybe the c++ lib has only none windows version). So if you want the updated soap version on windows, it does't works.
---
lib/server.js | 3 +++
package.json | 1 +
@kaven276
kaven276 / sol-10-ins-error
Created September 5, 2011 02:03
node installation error on solaris 10
root@DIALBOOK # ./configure
/app/nodejs
/app/nodejs
Checking for program g++ or c++ : /usr/local/bin/g++
Checking for program c++ : /usr/local/bin/c++
ld.so.1: c++: fatal: libiconv.so.2: open failed: No such file or directory
/app/nodejs/wscript:228: error: could not configure a cxx compiler!