00:00:00  * ircretaryquit (Remote host closed the connection)
00:00:09  * ircretaryjoined
00:07:26  * avalanche123quit (Remote host closed the connection)
00:11:32  * avalanche123joined
00:17:17  * thlorenzjoined
00:23:40  * dshaw_quit (Quit: Leaving.)
00:29:32  * Ralithquit (Ping timeout: 250 seconds)
00:42:30  * thlorenz_joined
00:43:16  * dsantiagoquit (Ping timeout: 264 seconds)
00:45:01  * dsantiagojoined
00:45:23  * thlorenzquit (Ping timeout: 245 seconds)
00:46:01  * avalanche123quit (Ping timeout: 255 seconds)
00:46:18  * dsantiagoquit (Max SendQ exceeded)
00:47:12  * dsantiagojoined
00:54:57  * dap_quit (Quit: Leaving.)
00:55:56  * AvianFluquit (Ping timeout: 240 seconds)
01:02:11  * Ralithjoined
01:09:18  * hayesjoined
01:10:41  * AvianFlujoined
01:18:19  * qardquit (Ping timeout: 252 seconds)
01:20:18  * brsonquit (Quit: leaving)
01:21:59  * dsantiagoquit (Ping timeout: 252 seconds)
01:22:46  * tylerantonjoined
01:22:54  * jgiquit (Quit: jgi)
01:25:20  * dsantiagojoined
01:27:21  * dsantiagoquit (Max SendQ exceeded)
01:27:23  * brsonjoined
01:28:09  * dsantiagojoined
01:34:31  * kazuponjoined
01:58:52  * Jacob8432joined
01:59:40  * dsantiagoquit (Ping timeout: 250 seconds)
02:00:51  * iamstefquit (Ping timeout: 265 seconds)
02:00:51  * parshapquit (Ping timeout: 265 seconds)
02:01:20  * ferossquit (Ping timeout: 265 seconds)
02:01:20  * eugenewarequit (Ping timeout: 265 seconds)
02:01:41  * dsantiagojoined
02:01:49  * creationixquit (Ping timeout: 265 seconds)
02:01:49  * jalcinequit (Ping timeout: 265 seconds)
02:02:18  * Jacob843quit (Ping timeout: 265 seconds)
02:03:52  * ferossjoined
02:04:14  * parshapjoined
02:04:35  * iamstefjoined
02:05:23  * eugenewarejoined
02:07:25  * jalcinejoined
02:07:30  * creationixjoined
02:12:07  * ijrothjoined
02:20:44  * Fishrock123quit (Quit: Leaving...)
02:28:07  * brsonquit (Quit: leaving)
02:30:35  <Ralith>I have a uv_loop_close returning UV_EBUSY despite the fact that the uv_run(&loop, UV_RUN_DEFAULT) call exited of its own accord, and uv_walk lists only inactive handles. What's going on here?
02:34:38  * kazuponquit (Remote host closed the connection)
02:39:23  * Jacob8432quit (Quit: Leaving)
02:39:40  * Jacob843joined
02:40:09  * thlorenz_quit (Remote host closed the connection)
02:41:02  * ijrothquit (Quit: Leaving.)
02:46:29  * akoeplingerquit (Ping timeout: 250 seconds)
02:47:26  <Ralith>what can "This function must only be called once the loop has finished its execution" possibly mean if not that?
02:48:15  * thlorenzjoined
02:54:37  * thlorenzquit (Remote host closed the connection)
03:04:25  * ijrothjoined
03:17:40  <Ralith>why does uv_loop_close fail if QUEUE_EMPTY(&(loop)->active_reqs) != 0 when that's exactly when uv__has_active_reqs returns false?
03:20:05  * Left_Turnquit (Remote host closed the connection)
03:21:06  * rmgquit (Remote host closed the connection)
03:21:39  <Ralith>ah, close must be called even on inactive handles
03:25:40  <Ralith>except I am calling close...
03:28:08  * tylerantonquit (Quit: tyleranton)
03:35:01  * kazuponjoined
03:40:22  * kazuponquit (Ping timeout: 256 seconds)
03:55:28  * thlorenzjoined
04:00:12  * thlorenzquit (Ping timeout: 250 seconds)
04:02:28  * toothrotquit (Ping timeout: 256 seconds)
04:36:08  * kazuponjoined
04:41:39  * kazuponquit (Ping timeout: 276 seconds)
04:56:40  * thlorenzjoined
05:00:56  * thlorenzquit (Ping timeout: 240 seconds)
05:05:08  * ijrothquit (Quit: Leaving.)
05:11:00  * kazuponjoined
05:12:49  * ijrothjoined
05:23:56  * seishunjoined
05:54:44  * dsantiagoquit (Ping timeout: 272 seconds)
05:57:58  * jgijoined
06:00:59  * dsantiagojoined
06:03:29  * MLMquit (Quit: Connection closed for inactivity)
06:24:17  * dsantiagoquit (Ping timeout: 246 seconds)
06:27:22  * dsantiagojoined
06:28:53  * dsantiagoquit (Max SendQ exceeded)
06:29:36  * dsantiagojoined
06:31:12  * ijrothquit (Quit: Leaving.)
06:36:11  * seishunquit (Ping timeout: 246 seconds)
06:48:20  * kazuponquit (Remote host closed the connection)
06:59:55  * wolfeidauquit (Remote host closed the connection)
07:05:36  * jgiquit (Quit: jgi)
07:13:05  <saghul>Ralith: that function closes the loop resources, you need to close the handles yourself
07:26:41  <libuv>Ralith: in my implemention of Close for my bindings I iterate through all the open handles and close them
07:28:34  * roxlujoined
07:34:45  <petka__>you also need to wait for the close callback to be called
07:35:44  <libuv>do you?
07:37:34  <petka__>well yea, if you do uv_close(handle) and then right away uv_loop_close, the loop wont close
07:38:48  <petka__>it's only really closed after the 2nd callback argument has been called
07:39:11  <saghul>yes, you need to wait for them
07:39:46  <saghul>easiest is to use uv_walk, call uv_close on everything, uv_run again for the callbacks to be called, and after it returns, uv_loop_close
07:48:45  * kazuponjoined
07:53:53  * kazuponquit (Ping timeout: 246 seconds)
07:56:12  * brucemquit (Excess Flood)
07:57:18  * brucemjoined
07:58:54  * brucemquit (Changing host)
07:58:54  * brucemjoined
08:33:35  * kazuponjoined
08:51:12  * rendarjoined
08:52:23  <txdv>o snap
08:52:31  <txdv>i forgot to expose trysend in my binding
08:52:47  <txdv>udp proves once again to be the ignored ugly little brother
08:56:10  * kazupon_joined
08:57:40  * kazupon_quit (Read error: Connection reset by peer)
08:58:29  * kazupon_joined
08:58:30  * kazuponquit (Read error: Connection reset by peer)
08:59:35  * kazuponjoined
09:01:12  <rendar>a simple fd-copy server, just to understand if i'm using libuv correctly: when i receive an on_read callback, I have the request of the read, which has a buffer, then i simply create a new uv_buf_t structure, put that buffer's data on it, and call uv_write() with the *same* request, that uv_buf_t, but another fd, right?
09:03:11  * kazupon_quit (Ping timeout: 246 seconds)
09:08:36  * SergeiRNDjoined
09:08:42  <libuv>fd-copy?
09:09:23  <libuv>I don't understad your question.
09:10:22  <rendar>libuv: copy data from an fd to another one
09:12:36  <libuv>on_data -> use try_write, if that succeeds you are done, if not, stop reading, do a write and on_write start reading again
09:17:28  <rendar>libuv: ok
09:17:55  <rendar>libuv: i can also start a new reading with a new request
09:19:03  <libuv>what do you mean with request?
09:19:59  <rendar>uv_req_t ?
09:20:59  <libuv>reads don't have a request, at least not yet
09:22:58  <rendar>hmm, well yes
09:23:02  <libuv>Everything depends on how you are managing your memory.
09:23:27  <rendar>libuv: with the alloc_cb right?
09:23:32  <libuv>You have to take account that if you have a single byte buffer shared between reads and writes, you have to pause the reading until the writing is done.
09:24:00  <libuv>This is why try_write is handy, you can immediately try to write, if it succeeds, you just keep on reading.
09:24:27  <libuv>rendar: Yes, with the alloc_cb in start_read.
09:24:44  <rendar>right
09:25:46  <libuv>If you malloc on every alloc_cb, you have only to free the buffer after you are done with writing.
09:26:24  <libuv>If you are using a single buffer for performance/memory reasons, you have to delay the reading until the write is done.
09:28:16  <rendar>that's right, ok
09:38:36  * Left_Turnjoined
10:01:31  * akoeplingerjoined
10:05:33  <saghul>" libuv " please change your name
10:06:55  * chris_99joined
10:06:58  <txdv>akoeplinger: greetings
10:07:00  * libuvpart
10:07:21  <txdv>saghul: do you dislike that nick?
10:07:39  <txdv>akoeplinger: what are you doing in this channel?
10:08:18  <akoeplinger>txdv: just lurking :)
10:10:48  <txdv>welcome to the channel of the greatest io library in the world
10:22:05  <rendar>txdv: that "ibuv" guy was you? :)
10:27:38  <txdv>yeah
10:27:47  <txdv>a whois would have revealed that
10:27:49  <txdv>account: txdv
10:28:27  <rendar>heh
10:52:43  <nathan7>saghul: hey, I need your help
10:52:58  <nathan7>saghul: with regards to the history of uv_thread_self
10:54:29  <txdv>why does the history of it interest you so much
10:55:07  <nathan7>Because I need to have something work for node 0.8.0 through current v0.12 and iojs
10:55:25  <nathan7>on Linux, OS X, and Windows
11:10:12  * SergeiRNDquit (Quit: Leaving.)
11:19:26  * thlorenzjoined
11:24:03  * thlorenzquit (Ping timeout: 252 seconds)
11:32:27  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
11:38:05  * roxlujoined
11:38:52  * dshaw_joined
11:46:19  * dshaw_quit (Quit: Leaving.)
11:56:26  * kazuponquit (Remote host closed the connection)
11:56:52  * kazuponjoined
12:00:19  <saghul>nathan7: I don't think is was available in the 0.8 days
12:00:52  * SergeiRNDjoined
12:01:05  * kazuponquit (Ping timeout: 252 seconds)
12:03:46  <saghul>if I were you I'd just copy the implementation
12:03:50  <saghul>it's just a few lines
12:03:55  <saghul>IIRC
12:04:03  <nathan7>saghul: I did.
12:04:20  <nathan7>saghul: I'm now exhaustively testing every node version from 0.8.0 to current 0.12
12:04:35  <nathan7>saghul: https://github.com/polotek/libxmljs/pull/302#issuecomment-90890465
12:04:48  * kazuponjoined
12:05:06  <nathan7>saghul: I need a Windows machine, I'm currently preparing testing on OS X
12:08:18  * dshaw_joined
12:09:08  * kazuponquit (Ping timeout: 245 seconds)
12:14:12  * lance|afkchanged nick to lanceball
12:20:35  * thlorenzjoined
12:25:19  * thlorenzquit (Ping timeout: 265 seconds)
12:26:35  * kazuponjoined
12:27:50  * kazuponquit (Remote host closed the connection)
12:28:59  * kazuponjoined
12:29:08  * chris_99quit (Remote host closed the connection)
12:41:22  * kazuponquit (Remote host closed the connection)
12:54:42  * kazuponjoined
12:59:38  * kazuponquit (Ping timeout: 265 seconds)
13:00:13  * thlorenzjoined
13:10:50  * SergeiRND1joined
13:11:16  * thlorenzquit (Remote host closed the connection)
13:13:05  * SergeiRNDquit (Ping timeout: 246 seconds)
13:13:52  * thlorenzjoined
13:25:51  * dshaw_quit (Quit: Leaving.)
13:26:17  * thlorenzquit (Remote host closed the connection)
13:36:56  * thlorenzjoined
13:42:48  * Fishrock123joined
14:09:08  * alexforsterjoined
14:12:09  * Jacob8432joined
14:12:17  * wolfeidaujoined
14:13:18  * Jacob843quit (Ping timeout: 245 seconds)
14:13:46  * DrPizzaquit (Quit: alice.)
14:19:38  * wolfeidauquit (Read error: Connection reset by peer)
14:19:45  * wolfeidau_joined
14:26:53  * rmgjoined
14:31:57  * rmgquit (Ping timeout: 265 seconds)
14:39:07  * wolfeidau_quit (Ping timeout: 252 seconds)
14:42:20  * kazuponjoined
14:43:12  * MLMjoined
14:44:23  * wolfeidaujoined
14:47:11  * wolfeidau_joined
14:47:35  * wolfeidauquit (Read error: Connection reset by peer)
14:48:07  * wolfeidaujoined
14:50:47  * wolfeidau_quit (Read error: Connection reset by peer)
14:51:26  * wolfeidau_joined
14:52:00  * kazuponquit (Remote host closed the connection)
14:54:43  * wolfeidauquit (Ping timeout: 255 seconds)
14:55:09  * kazuponjoined
15:09:03  * SergeiRND1quit (Quit: Leaving.)
15:18:12  * AvianFluquit (Read error: Connection reset by peer)
15:18:13  * octetcloudjoined
15:18:39  <saghul>nathan7: sorry, I've been afk for a bit
15:19:09  <saghul>nathan7: I'm afraid windows might be tricky
15:19:29  * rmgjoined
15:20:47  <saghul>nathan7: because of this: https://github.com/libuv/libuv/commit/6591d000d13714c9e362942fbeaeca2b29507a25
15:20:50  * AvianFlujoined
15:24:59  * reqsharkjoined
15:28:11  * avalanche123joined
15:32:08  <Ralith>petka__: yeah, that was it, thanks
15:38:38  * kazuponquit (Remote host closed the connection)
15:54:06  * FROGGS[mobile]joined
15:54:16  <nathan7>saghul: I saw that commit, but we're good
15:54:28  <nathan7>saghul: We're only comparing the return value of uv_thread_self()
15:54:35  <nathan7>saghul: We're not getting thread IDs from anywhere else
15:54:48  <nathan7>saghul: So as long as uv_thread_self is self-consistent, that's not a problem
15:55:46  <nathan7>saghul: https://github.com/polotek/libxmljs/pull/302#issuecomment-90861194
15:56:46  <Ralith>petka__: do you know if it's possible for that to require blocking?
15:57:29  <petka__>Ralith for what to require blocking?
15:57:56  <Ralith>petka__: the running the loop with nothing pending other than close requests
15:58:40  <petka__>after you have requested the closures, just run the loop until the close callbacks have been called
15:59:17  <petka__>while (close_callbacks_called != close_callbacks_expected) uv_run(loop, UV_RUN_ONCE);
15:59:34  <petka__>after that line you can then close the loop
16:06:44  * ijrothjoined
16:08:54  <nathan7>saghul: /aw afk
16:08:57  <nathan7>saghul: welp, sorry
16:09:27  * ijrothquit (Client Quit)
16:13:29  * seishunjoined
16:13:30  * kellabytejoined
16:15:39  * jgijoined
16:23:20  * qardjoined
16:25:14  * Ralithquit (Ping timeout: 245 seconds)
16:28:21  * dap_joined
16:37:00  * lanceballchanged nick to lance|afk
16:39:14  * kazuponjoined
16:41:17  * reqshark_joined
16:43:43  * reqsharkquit (Read error: Connection reset by peer)
16:43:53  * kazuponquit (Ping timeout: 264 seconds)
16:47:27  * Jacob8432quit (Quit: Leaving)
16:47:41  * Jacob843joined
16:49:19  * reqshark_quit (Quit: Be back later ...)
16:55:19  * reqsharkjoined
16:58:53  * Ralithjoined
16:59:56  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-pull-request-temp * b6b8fcb : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/ve16r
17:00:16  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
17:00:32  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-commit-temp * 2cc92a0 : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/ve16y
17:05:42  * dshaw_joined
17:09:27  * kazuponjoined
17:11:34  * ijrothjoined
17:12:19  * reqsharkquit (Quit: Be back later ...)
17:14:08  * kazuponquit (Ping timeout: 245 seconds)
17:20:25  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-commit-temp * b1036b1 : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/ve17M
17:26:18  * cjihrigpart
17:26:25  * thlorenzquit (Remote host closed the connection)
17:30:53  * brsonjoined
17:34:37  * thlorenzjoined
17:50:30  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-pull-request-temp * 09160f5 : tls: pass in isolate with define string constant + style nits (+3 more commits) - http://git.io/veMf7
17:54:28  <Ralith>petka__: why not call close on everything, then call uv_run(loop, UV_RUN_DEFAULT) just once?
17:56:07  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-pull-request-temp * b6b8fcb : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/veMTB
18:01:51  * thlorenz_joined
18:03:48  * thlorenz_quit (Remote host closed the connection)
18:07:57  * chris_99joined
18:08:12  * Jacob843quit (Read error: Connection reset by peer)
18:09:24  * cjihrigjoined
18:12:16  * SergeiRNDjoined
18:18:12  * reqsharkjoined
18:20:29  * octetcloudquit (Ping timeout: 264 seconds)
18:35:31  * thlorenzquit (Remote host closed the connection)
18:37:08  * thlorenzjoined
18:38:13  * Jacob843joined
18:49:30  * jgiquit (Quit: jgi)
18:52:15  * piscisaureusjoined
18:53:41  * jgijoined
18:54:18  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-commit-temp * 8eaa1f9 : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/veMwu
18:55:12  * ijrothquit (Quit: Leaving.)
18:56:53  * brsonquit (Quit: leaving)
18:57:43  * brsonjoined
18:58:51  * ijrothjoined
19:00:09  <MI6>joyent/node: James M Snell v0.10.38-release * 8eaa1f9 : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/veMKs
19:00:27  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-commit-temp * 02a549e : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/veMK8
19:04:57  * avalanch_joined
19:06:30  <MI6>joyent/node: James M Snell v0.10 * 02a549e : tls: make the --enable-legacy-cipher-list help less verbose (+1 more commits) - http://git.io/veMP0
19:08:34  * avalanche123quit (Ping timeout: 245 seconds)
19:10:21  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-pull-request-temp * f00b0d1 : tls: make --enable-legacy-cipher-list=val less verbose (+1 more commits) - http://git.io/veMXQ
19:10:35  * SergeiRNDquit (Quit: Leaving.)
19:10:58  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-commit-temp * b5737bb : tls: make --enable-legacy-cipher-list=val less verbose (+1 more commits) - http://git.io/veM1f
19:15:12  * lance|afkchanged nick to lanceball
19:16:31  * AlexisMochajoined
19:19:15  * ijrothquit (Quit: Leaving.)
19:20:39  * AlexisMochaquit (Read error: Connection reset by peer)
19:21:14  * octetcloudjoined
19:22:54  * AlexisMochajoined
19:24:17  * SergeiRNDjoined
19:30:49  <MI6>joyent/node: Julien Gilli v0.10.38-release * 0b5731a : 2015.03.23, Version 0.10.38 (Maintenance) - http://git.io/veM7A
19:38:27  <MI6>joyent/node: James M Snell v0.12 * b5737bb : tls: make --enable-legacy-cipher-list=val less verbose (+1 more commits) - http://git.io/veMFh
19:40:35  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-pull-request-temp * a9f8196 : test: fixing a few nits in the test (+4 more commits) - http://git.io/veMbx
19:41:01  <MI6>joyent/node: James M Snell refs/tags/jenkins-accept-commit-temp * 4d9c81b : test: fixing a few nits in the test (+4 more commits) - http://git.io/veMNW
19:43:05  * AlexisMochaquit (Ping timeout: 251 seconds)
19:43:52  * AlexisMochajoined
19:49:02  * ijrothjoined
19:50:39  * rendarquit (Ping timeout: 256 seconds)
19:51:42  * davijoined
19:52:02  * AlexisMochaquit (Ping timeout: 244 seconds)
19:55:02  * AlexisMochajoined
19:56:47  * avalanch_quit (Remote host closed the connection)
19:56:58  * rendarjoined
20:00:19  * dshaw_quit (Quit: Leaving.)
20:02:33  * daviquit (Ping timeout: 265 seconds)
20:09:55  * jgiquit (Quit: jgi)
20:10:19  * ijrothquit (Quit: Leaving.)
20:14:59  * avalanche123joined
20:23:56  * octetcloudquit (Ping timeout: 240 seconds)
20:24:31  * dsantiagoquit (Quit: Leaving...)
20:25:46  * SergeiRNDquit (Quit: Leaving.)
20:31:06  * roxlujoined
20:32:46  <MI6>joyent/node: James M Snell master * 4d9c81b : test: fixing a few nits in the test (+4 more commits) - http://git.io/veDlM
20:40:38  * kazuponjoined
20:45:23  * kazuponquit (Ping timeout: 245 seconds)
20:56:44  * dsantiagojoined
21:02:41  * octetcloudjoined
21:14:59  * lanceballchanged nick to lance|afk
21:16:11  * jgijoined
21:20:24  * ijrothjoined
21:20:42  * ijrothquit (Client Quit)
21:24:18  * tylerantonjoined
21:44:28  * kellabytequit (Quit: Connection closed for inactivity)
21:49:38  * roxluquit (Quit: My Mac has gone to sleep. ZZZzzz…)
21:54:03  * jgiquit (Quit: jgi)
21:54:42  * jgijoined
22:01:10  * alexforsterquit
22:03:16  * brsonquit (Quit: leaving)
22:05:50  * Fishrock123quit (Remote host closed the connection)
22:07:04  * brsonjoined
22:10:49  * chris_99quit (Remote host closed the connection)
22:17:47  * reqsharkquit (Quit: Be back later ...)
22:22:39  * toothrotjoined
22:30:58  * dsantiag_joined
22:32:14  * tylerantonquit (Quit: tyleranton)
22:32:52  * dsantiagoquit (Ping timeout: 265 seconds)
22:32:59  * dsantia__joined
22:36:09  * dsantiag_quit (Ping timeout: 252 seconds)
22:45:36  * seishunquit (Ping timeout: 256 seconds)
22:48:57  * tylerantonjoined
22:56:16  * dshaw_joined
23:06:42  * Fishrock123joined
23:08:19  * thlorenzquit (Remote host closed the connection)
23:11:28  * Fishrock123quit (Ping timeout: 244 seconds)
23:14:15  * zju3joined
23:16:29  * zju1quit (Ping timeout: 252 seconds)
23:16:57  * zju4quit (Ping timeout: 250 seconds)
23:17:21  * zju4joined
23:24:35  * rendarquit
23:25:27  * thlorenzjoined
23:28:33  * thlorenzquit (Remote host closed the connection)
23:41:31  * kazuponjoined
23:46:20  * kazuponquit (Ping timeout: 252 seconds)
23:48:05  * txdvquit (Ping timeout: 256 seconds)
23:48:30  * txdvjoined
23:54:35  * wolfeidaujoined
23:55:37  * LeftWingquit (Remote host closed the connection)
23:55:43  * wolfeidau_quit (Ping timeout: 252 seconds)
23:55:45  * LeftWingjoined