The web in a box - a next generation web framework for the Perl programming language

IRC log for #mojo, 2016-11-13

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:09 polettix joined #mojo
00:29 garu joined #mojo
00:34 garu_ joined #mojo
00:39 alexbyk joined #mojo
01:10 aborazmeh joined #mojo
01:10 henq joined #mojo
01:41 Riviera joined #mojo
01:47 lluad joined #mojo
01:57 buu jberger: I actually switched to building a new $ua for every request, still leaks
03:43 noganex joined #mojo
04:24 jberger buu did you try with an older version?
04:24 buu Not yet
04:26 buu oh
04:26 buu that's neat
04:26 buu Module::CoreList 5.20161020 (loaded from /usr/local/share/perl/5.24.1/Module/CoreList.pm) doesn't seem to have entries for perl 5.024001. You're strongly recommended to upgrade Module::CoreList from CPAN.
04:27 buu wtf
04:28 jberger BinGOs uploads it immediately after each release
04:29 buu Except it comes with perl not from cpan
04:29 buu But I managed to install it from cpan
04:31 buu Now that's interesting
04:32 buu So two things happened. A) I upgraded mojo B) My proxy started rejecting requests
04:34 buu [3431140.927590] end_request: I/O error, dev sda, sector 503808
04:34 buu Ahh, quality hosting.
04:42 aborazmeh joined #mojo
04:50 buu I bet the leak is only triggered when it gets rejected
05:42 tyldis I think we need more code context to help further
07:08 polettix joined #mojo
07:41 Vandal15263 joined #mojo
07:59 polettix joined #mojo
08:13 Paddi joined #mojo
08:13 Paddi hi there.
08:15 Paddi I have a question about mojo::session. I got a mojo lite app serves a few similar app differentiate by the url path (e.g., domain.com/programA, domain.com/programB, domain.com/programC ..), and chances are user may open several simultaneously ...once they do that the session will messing up... is there anything I can tied a session to a placeholder
08:15 Paddi ?
09:03 preaction Paddi: http://mojolicious.org/perldoc/Mojolicious/Sessions#cookie_path
09:06 Paddi preaction: I have tried cookie_path but it broke when I do redirect_to ... basically my routes is something like domain.com/<placeholder>/<function> , e.g., domain.com/programA/resources  domain.com/programB/news
09:08 AndrewIsh joined #mojo
09:21 Paddi I'm using mojolicious::plugin::authentication & under ... apparently the under sub { } always return false on $c->is_user_authenticated even the user if logged in (using cookie_path to specific placeholder)
09:33 Paddi or can I have double $c->session? 1 on cookie_path and another w/o cookie_path, then use before_dispatch to load the correct cookie? basically i just need to store a few parameter according to the placeholder
09:43 parv joined #mojo
09:44 parv joined #mojo
10:18 polettix joined #mojo
11:25 polettix joined #mojo
11:27 alexbyk joined #mojo
11:28 Paddi joined #mojo
11:59 henq joined #mojo
12:06 alexbyk joined #mojo
12:27 henq joined #mojo
13:21 Janos joined #mojo
13:41 rshadow joined #mojo
14:48 dod joined #mojo
14:49 polettix joined #mojo
15:27 henq joined #mojo
15:28 lluad joined #mojo
15:29 rshadow joined #mojo
16:32 rshadow joined #mojo
16:34 * sri yawns
17:09 rshadow joined #mojo
17:10 batman joined #mojo
18:10 PryMar56 joined #mojo
18:14 buu It looks strongly like the memory leak was triggered by the proxy returning 403
18:24 stryx` joined #mojo
18:24 dod joined #mojo
18:40 stryx` joined #mojo
18:41 marty joined #mojo
19:07 marty_ joined #mojo
19:16 marty joined #mojo
19:36 rshadow joined #mojo
19:43 rshadow joined #mojo
20:13 rshadow joined #mojo
20:48 rshadow joined #mojo
21:31 disputin joined #mojo
22:03 polettix joined #mojo
23:30 suede Is there a way to do async queries with a transaction?
23:31 suede Sorry, should clarify- With Mojo::Pg
23:31 suede I guess that wouldn't exactly make sense
23:36 preaction it kind of does, only because of how postgres actually does async: you can't send concurrent requests to the same database connection
23:36 preaction it's async, not parallel
23:37 suede right
23:38 suede that's about what i suspected
23:40 Janos joined #mojo

| Channels | #mojo index | Today | | Search | Google Search | Plain-Text | summary