You can subscribe to this list here.
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(52) |
Jun
(30) |
Jul
(17) |
Aug
(9) |
Sep
(4) |
Oct
(7) |
Nov
(11) |
Dec
(19) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2008 |
Jan
|
Feb
(1) |
Mar
(37) |
Apr
(28) |
May
(15) |
Jun
(28) |
Jul
(7) |
Aug
(125) |
Sep
(116) |
Oct
(85) |
Nov
(14) |
Dec
(6) |
2009 |
Jan
(11) |
Feb
(4) |
Mar
(5) |
Apr
|
May
(9) |
Jun
(5) |
Jul
(4) |
Aug
(40) |
Sep
(1) |
Oct
(19) |
Nov
(43) |
Dec
(45) |
2010 |
Jan
(76) |
Feb
(95) |
Mar
(3) |
Apr
(23) |
May
(39) |
Jun
(54) |
Jul
(6) |
Aug
(13) |
Sep
(12) |
Oct
(59) |
Nov
(53) |
Dec
(43) |
2011 |
Jan
(43) |
Feb
(44) |
Mar
(25) |
Apr
(23) |
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(1) |
Nov
(2) |
Dec
|
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
|
Nov
|
Dec
|
From: Divye K. <div...@gm...> - 2008-08-27 17:01:23
|
On Wed, Aug 27, 2008 at 6:14 PM, Glyn Matthews <gly...@gm...>wrote: > Hello, > > > I have some questions about the way HTTP requests are made using the > current interface, specifically this (taken from the http_1_0_test.cpp): > > using namespace boost::network; > http::request request("http://www.boost.org/"); > http::client client_; > http::response response_; > response_ = client_.get(request); > > > What exactly is the role of the client here? I'm a little confused by the > syntax because it reads as though you're trying to make a get request to an > HTTP client. Would it perhaps be better to rename http::client to > http::connection? > Currently, I read the above code as: 1. frame a request for resource http://www.boost.org/ 2. Create a client that handles http requests/responses 3. Get the resource specified by the request and provide a response. However, I do admit that client.head(request) and client.put(request) don't seem to be too intuitive in that respect. > Secondly, why is the domain passed as an argument to the http::request > constructor? To me, this doesn't feel like the right unit of encapsulation. > > Does the following example code make more sense? > > using namespace boost::network; > http::connection c("http://www.boost.org"); > http::request request1("/users/news/version_1_36_0"); > http::response response1 = c.get(request); > http::request request2("/cgi-bin/path"); > request2 << body("post_body"); > http::response response2 = c.post(request2); > > Two observations about this: > The current implementation creates a new socket for each request that is > made, whereas the above suggestion allows a socket to remain open for > multiple requests. Additionally, the URI processing is currently done > inside the request constructor. I think it would be better to re-factor > this into a separate package. > > Any thoughts? > Glyn I agree with the plus point of having a socket remain open for multiple requests but the syntax suggested seems to separate the domain name and the relative path of the resource. I wouldn't like to keep track of which domain is associated with which domain. Also, this breaks encapsulation because a function that takes only a http::request cannot determine where the resource is located and which protocol is to be used. A part of that useful information lies in the connection object. In my head, a resource is completely specified only when its complete url/uri is available and in that respect, the request object is underspecified. Just my thoughts, Divye -- An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup. H. L. Mencken (1880 - 1956) My official web site: http://people.iitr.ernet.in/shp/061305/ Webmaster: http://www.drkapoorsclinic.com Blog: http://divyekapoor.blogspot.com |
From: Glyn M. <gly...@gm...> - 2008-08-27 12:44:32
|
Hello, I have some questions about the way HTTP requests are made using the current interface, specifically this (taken from the http_1_0_test.cpp): using namespace boost::network; http::request request("http://www.boost.org/"); http::client client_; http::response response_; response_ = client_.get(request); What exactly is the role of the client here? I'm a little confused by the syntax because it reads as though you're trying to make a get request to an HTTP client. Would it perhaps be better to rename http::client to http::connection? Secondly, why is the domain passed as an argument to the http::request constructor? To me, this doesn't feel like the right unit of encapsulation. Does the following example code make more sense? using namespace boost::network; http::connection c("http://www.boost.org"); http::request request1("/users/news/version_1_36_0"); http::response response1 = c.get(request); http::request request2("/cgi-bin/path"); request2 << body("post_body"); http::response response2 = c.post(request2); Two observations about this: The current implementation creates a new socket for each request that is made, whereas the above suggestion allows a socket to remain open for multiple requests. Additionally, the URI processing is currently done inside the request constructor. I think it would be better to re-factor this into a separate package. Any thoughts? Glyn |
From: Dean M. B. <mik...@gm...> - 2008-08-26 08:00:37
|
On Tue, Aug 26, 2008 at 3:48 PM, Glyn Matthews <gly...@gm...> wrote: > Hi, > > 2008/8/26 Dean Michael Berris <mik...@gm...> >> >> Hi Everyone, >> >> I've just recently packaged the trunk snapshot revision #72 as >> cpp-netlib-0.1 -- this does not include the documentation we already >> have in the docs branch, and will only be available as a very early >> alpha release. > > Cool :) Is it possible that you could also tag this release in subversion? > e.g. copy the current trunk to tags/0-1-alpha ? > Good idea. :) Let me do that. :D >> >> Question to the whole group: would anybody like to manage the release >> process, and be the "official" release manager? For the meantime I'm >> willing to take on this task but I imagine with the coding I'm still >> supposed to do, is anybody willing to take on this responsibility? > > If no-one else volunteers, I'll do this. What work will this mean? I guess > its: > > Managing trunk to ensure that it's stable; > When the manager is confident of this, tag and package a release; > Update the SF & wiki to publicise this > Precisely. It's more actually just creating tarballs and zips and uploading the files to Subversion. > How often do you expect releases? You mention that you hope to have 0.2 out > within a week, but the history of this project shows that weekly releases is > a bit too ambitious. But I don't see too much difficulty with an "as and > when" approach at this early stage. > Right. Given that it's still in the flux/alpha state, I want to be able to ship as early as possible. I mean, since we can run the unit tests on our machines without having to wait for a lot of turnaround time, I don't see much point in waiting too long yet. We can keep releasing 0.2, 0.3, ..., 0.99, until we have a suitably usable 1.0 that we can present at a convention like BoostCon or something similar. ;) I imagine not giving much support for released alpha packages, but I would love to get a package that people can start getting and trying out or criticizing. Once we've got that critical feedback we need from users, it's easier to move and come up with a more formal process. Right now I think having something that works out sooner is better than not having anything out there yet. Getting a package out there as well allows us to get users to file bugs and maybe entice people to actually contribute to the project too. At least that's the intention. ;) >> Have a good day everyone, and I hope this helps. > > Yes, thanks Dean. You're welcome. :) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-26 07:48:41
|
Hi, 2008/8/26 Dean Michael Berris <mik...@gm...> > Hi Everyone, > > I've just recently packaged the trunk snapshot revision #72 as > cpp-netlib-0.1 -- this does not include the documentation we already > have in the docs branch, and will only be available as a very early > alpha release. Cool :) Is it possible that you could also tag this release in subversion? e.g. copy the current trunk to tags/0-1-alpha ? > Question to the whole group: would anybody like to manage the release > process, and be the "official" release manager? For the meantime I'm > willing to take on this task but I imagine with the coding I'm still > supposed to do, is anybody willing to take on this responsibility? > If no-one else volunteers, I'll do this. What work will this mean? I guess its: Managing trunk to ensure that it's stable; When the manager is confident of this, tag and package a release; Update the SF & wiki to publicise this How often do you expect releases? You mention that you hope to have 0.2 out within a week, but the history of this project shows that weekly releases is a bit too ambitious. But I don't see too much difficulty with an "as and when" approach at this early stage. Have a good day everyone, and I hope this helps. Yes, thanks Dean. G |
From: Dean M. B. <mik...@gm...> - 2008-08-26 07:38:42
|
Hi Glyn, On Tue, Aug 26, 2008 at 3:33 PM, Glyn Matthews <gly...@gm...> wrote: > > 2008/8/26 Dean Michael Berris <mik...@gm...> >> >> Glyn, do you think we should merge whatever you have in the >> documentation into the trunk as well before we create the alpha >> package? > > I've added a bit, but its more of a skeleton without much in the way of > content, so I wouldn't feel confident with it in a release at this stage. > > The skeleton is based on the loose documentation we already have on the wiki > and in the README file. I'd like to expand the rationale, overview and the > message type documentation first. Do you think there's anything missing? > Feel free to add missing sections in the docs branch. I'll take the time to > write more over the next week. > Okay, I'll get to the documentation soon as I get free cycles from actual coding. ;) At any rate, I'll see what I can add to the documentation over the coming days. I'm front-loading my week so that the latter part I can concentrate more on the lighter tasks and get better rest on the weekend. Or at least that's what I'm going to try and do. ;) Thanks! -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-26 07:33:43
|
Hi Dean, 2008/8/26 Dean Michael Berris <mik...@gm...> > Hi Everyone, > > Just a heads up, I've merged http_integration from 1-71 to trunk. This > is now in revision 72. > > I'll soon be packaging an alpha version of the software. > > Glyn, do you think we should merge whatever you have in the > documentation into the trunk as well before we create the alpha > package? I've added a bit, but its more of a skeleton without much in the way of content, so I wouldn't feel confident with it in a release at this stage. The skeleton is based on the loose documentation we already have on the wiki and in the README file. I'd like to expand the rationale, overview and the message type documentation first. Do you think there's anything missing? Feel free to add missing sections in the docs branch. I'll take the time to write more over the next week. G |
From: Dean M. B. <mik...@gm...> - 2008-08-26 06:16:23
|
Hi Everyone, I've just recently packaged the trunk snapshot revision #72 as cpp-netlib-0.1 -- this does not include the documentation we already have in the docs branch, and will only be available as a very early alpha release. The next release goal is next week 0.2 which should contain: 1. early documentation snapshot 2. more unit tests 3. HTTP 1.0 asynchronous get support I'm working on item #3 which I should be committing to http_integration pretty soon and then merging back into trunk as well before the release scheduled next week Monday PDT. If you would like to have your code included in the 0.2 release, please let me know. Question to the whole group: would anybody like to manage the release process, and be the "official" release manager? For the meantime I'm willing to take on this task but I imagine with the coding I'm still supposed to do, is anybody willing to take on this responsibility? Have a good day everyone, and I hope this helps. -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-26 05:40:48
|
Hi Everyone, Just a heads up, I've merged http_integration from 1-71 to trunk. This is now in revision 72. I'll soon be packaging an alpha version of the software. Glyn, do you think we should merge whatever you have in the documentation into the trunk as well before we create the alpha package? PS. Apparently Sourceforge still doesn't support Subversion 1.5 merge tracking. So right now we have to do the merging manually. -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-22 14:52:51
|
On Fri, Aug 22, 2008 at 10:23 PM, Glyn Matthews <gly...@gm...> wrote: > > > 2008/8/22 Dean Michael Berris <mik...@gm...> >> >> I meant does _Sourceforge_ already support Subversion 1.5 merge tracking. >> :D > > Oh, sorry, I couldn't find any more information about that. It's alright Glyn, thanks. :) I'm just going to send an email to Subversion support to ask about it. They did an upgrade of the Subversion system some time ago along with the web system. I'm not sure they're related though. Time to put the administrator hat on for me. ;) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-22 14:23:58
|
2008/8/22 Dean Michael Berris <mik...@gm...> > > I meant does _Sourceforge_ already support Subversion 1.5 merge tracking. > :D > Oh, sorry, I couldn't find any more information about that. G |
From: Dean M. B. <mik...@gm...> - 2008-08-22 14:10:12
|
On Fri, Aug 22, 2008 at 9:49 PM, Glyn Matthews <gly...@gm...> wrote: > Dean, > > > 2008/8/22 Dean Michael Berris <mik...@gm...> >> >> Do you know if Subversion already supports 1.5 merge tracking support? > > I found this: > http://subversion.tigris.org/svn_1.5_releasenotes.html#merge-tracking > > and I think the answer is "not completely". Oh, in my haste I asked the wrong question. :P I meant does _Sourceforge_ already support Subversion 1.5 merge tracking. :D -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-22 13:49:36
|
Dean, 2008/8/22 Dean Michael Berris <mik...@gm...> > Do you know if Subversion already supports 1.5 merge tracking support? > I found this: http://subversion.tigris.org/svn_1.5_releasenotes.html#merge-tracking and I think the answer is "not completely". G |
From: Dean M. B. <mik...@gm...> - 2008-08-22 10:24:19
|
Hi Glyn! On Fri, Aug 22, 2008 at 6:16 PM, Glyn Matthews <gly...@gm...> wrote: > Hi Dean, > > 2008/8/22 Dean Michael Berris <mik...@gm...> >> >> Glyn/Mike, >> >> Would you agree that the current HTTP client implementation is worthy >> of a merge to trunk already? > > > Yeah, I think so. All tests pass so I feel that's OK. What more is there > to do in the way of HTTP integration? Is this branch left open for more > changes and periodically merged back into trunk? Or do we close it and make > new branches when there is a new task? > I'd like to keep it open. The only time I think we should kill this branch is when we have: * HTTP 1.0/1.1 Client - cookie support - (1.1) persistent connection support - (1.1) request pipelining - client that supports asynchronous completion handlers * HTTP Server - 1.0 support - 1.1 support for persistent connections - 1.1 support for pipelining It's good to keep developing on a branch that we keep re-merging into the trunk. :) >> >> It would also be nice if we put up an alpha release of the library >> because the HTTP 1.0 client is pretty much usable already. > > Yes, according to the mantra "release early and often" (though we're really > stretching the meaning of the word 'early'). > Yep. :D Do you know if Subversion already supports 1.5 merge tracking support? -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-22 10:16:25
|
Hi Dean, 2008/8/22 Dean Michael Berris <mik...@gm...> > Glyn/Mike, > > Would you agree that the current HTTP client implementation is worthy > of a merge to trunk already? > Yeah, I think so. All tests pass so I feel that's OK. What more is there to do in the way of HTTP integration? Is this branch left open for more changes and periodically merged back into trunk? Or do we close it and make new branches when there is a new task? > > It would also be nice if we put up an alpha release of the library > because the HTTP 1.0 client is pretty much usable already. > Yes, according to the mantra "release early and often" (though we're really stretching the meaning of the word 'early'). Glyn |
From: Dean M. B. <mik...@gm...> - 2008-08-22 09:32:52
|
Glyn/Mike, Would you agree that the current HTTP client implementation is worthy of a merge to trunk already? It would also be nice if we put up an alpha release of the library because the HTTP 1.0 client is pretty much usable already. Let me know what you think! -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-22 07:14:00
|
Hi Divye, On Fri, Aug 22, 2008 at 1:11 AM, Divye Kapoor <div...@gm...> wrote: > Hi Dean, > I hope this response isn't too late. > >> >> Does anybody know how I can get the HTTP Headers from the request that >> invokes the CGI script? > > Try LiveHTTPHeaders. It's an add-on for Firefox that allows you to see the > headers that are sent by the server in response to a particular request. > https://addons.mozilla.org/en-US/firefox/addon/3829 > Right, but I'm more interested in something that can be made part of the unit tests so that I can verify whether the http::client we have has really sets the User-Agent header. -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Divye K. <div...@gm...> - 2008-08-21 17:11:08
|
Hi Dean, I hope this response isn't too late. > > Does anybody know how I can get the HTTP Headers from the request that > invokes the CGI script? > Try LiveHTTPHeaders. It's an add-on for Firefox that allows you to see the headers that are sent by the server in response to a particular request. https://addons.mozilla.org/en-US/firefox/addon/3829 You can make a GET request directly by accessing http://localhost:8000/cgi-bin/requestinfo.py?var=value and see the headers. To make a POST request, create a simple HTML form <html> <head> <title></title> </head> <body> <form action="cgi-bin/requestinfo.py?arg=argument" method="POST"> <input type="text" name="test" /> <input type="hidden" name="hiddenparam" value="hiddenvalue" /> <input type="submit" value="submit" /> </form> </body> </html> and save it in the test\server directory. Type in some text and press the submit button. View the headers using LiveHTTPHeaders. Divye -- An idealist is one who, on noticing that a rose smells better than a cabbage, concludes that it will also make better soup. H. L. Mencken (1880 - 1956) My official web site: http://people.iitr.ernet.in/shp/061305/ Webmaster: http://www.drkapoorsclinic.com Blog: http://divyekapoor.blogspot.com |
From: Dean M. B. <mik...@gm...> - 2008-08-20 13:47:04
|
Revision 70 adds a default constructor to basic_response, and an explicit assignment operator. I've built and tested this in MSVC 2008 (VC9). On Wed, Aug 20, 2008 at 4:58 AM, Dean Michael Berris <mik...@gm...> wrote: > On Wed, Aug 20, 2008 at 3:54 AM, Glyn Matthews <gly...@gm...> wrote: >> Hi Dean, >> >> 2008/8/19 Dean Michael Berris <mik...@gm...> >>> >>> In revision 69 of the http_integration branch, I've implemented swap >>> and copy semantics in the base boost::network::message template as >>> well as the derived types. >>> >>> >From now on every derivative of the boost::network::message that has >>> their own state should implement a no-throw swap and copy constructor. >>> >>> In concept terms, every derivative of boost::network::message should >>> be Swappable and CopyConstructable. :) >> >> and presumably Assignable? All tests run on g++ 4.3 on ubuntu. > > Ah, yes. Actually only the boost::network::message class is truly > assignable -- I have yet to test the other derivatives on whether the > assignment operators work for them. Expect these from me in the next > commit. > > Oh, and I removed the needless 'const' from member functions and > 'mutable' from member variables. It just complicates things IMO. ;) > > HTH :) > > -- > Dean Michael C. Berris > Software Engineer, Friendster, Inc. > -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-19 20:58:04
|
On Wed, Aug 20, 2008 at 3:54 AM, Glyn Matthews <gly...@gm...> wrote: > Hi Dean, > > 2008/8/19 Dean Michael Berris <mik...@gm...> >> >> In revision 69 of the http_integration branch, I've implemented swap >> and copy semantics in the base boost::network::message template as >> well as the derived types. >> >> >From now on every derivative of the boost::network::message that has >> their own state should implement a no-throw swap and copy constructor. >> >> In concept terms, every derivative of boost::network::message should >> be Swappable and CopyConstructable. :) > > and presumably Assignable? All tests run on g++ 4.3 on ubuntu. Ah, yes. Actually only the boost::network::message class is truly assignable -- I have yet to test the other derivatives on whether the assignment operators work for them. Expect these from me in the next commit. Oh, and I removed the needless 'const' from member functions and 'mutable' from member variables. It just complicates things IMO. ;) HTH :) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-19 19:54:54
|
Hi Dean, 2008/8/19 Dean Michael Berris <mik...@gm...> > In revision 69 of the http_integration branch, I've implemented swap > and copy semantics in the base boost::network::message template as > well as the derived types. > > >From now on every derivative of the boost::network::message that has > their own state should implement a no-throw swap and copy constructor. > > In concept terms, every derivative of boost::network::message should > be Swappable and CopyConstructable. :) > and presumably Assignable? All tests run on g++ 4.3 on ubuntu. G |
From: Dean M. B. <mik...@gm...> - 2008-08-19 10:17:02
|
In revision 69 of the http_integration branch, I've implemented swap and copy semantics in the base boost::network::message template as well as the derived types. >From now on every derivative of the boost::network::message that has their own state should implement a no-throw swap and copy constructor. In concept terms, every derivative of boost::network::message should be Swappable and CopyConstructable. :) HTH -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-15 02:27:22
|
Now in http_integration, revision 65. :) I had to write my own CGI script which borrowed from the existing CGI script that just printed multi-line HTTP headers. :D -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-15 00:17:12
|
Hi Guys, Does anybody know how I can get the HTTP Headers from the request that invokes the CGI script? Help would be most appreciated. TIA -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Dean M. B. <mik...@gm...> - 2008-08-13 08:24:43
|
On Wed, Aug 13, 2008 at 4:16 PM, Glyn Matthews <gly...@gm...> wrote: > Hi, > > 2008/8/13 Dean Michael Berris <mik...@gm...> >> >> Hi Glyn! >> >> Sounds good to me. I tried updating the ticket for a synchronous HTTP >> client, but I'm having trouble staying logged on to Sourceforge. I'll >> look for a better way to do this. > > Are others having problems with sourceforge? I would agree that it's not > the most elegant interface in the world, and it certainly has performance > issues. > Right. I've talked with the network administrator and it seems he's resolved the issue from my end. :D > The reason I ask is that I've taken a look at http://www.assembla.com/ and > found that its a lot easier to use, plus it has chat and discussion features > that aren't available with sf. > > This is an aside, I'm not suggesting we switch straight away, but it might > be a good solution for the longer term. > I agree we ought to look for something else, but right now Sourceforge hosts us for free and already has stuff we need -- it's just a matter of actually making it part of the workflow. I personally like using Trac more along with Subversion to integrate issue tracking with development, but as it stands right now I don't think we can afford to host the project on a separate dedicated development environment that supports Trac. I haven't looked at assembla.com yet -- but if Google decides to support the Boost software license in Google Code Project Hosting, I'd switch to that anytime. Please expect more tracker activity from me from now on. :) -- Dean Michael C. Berris Software Engineer, Friendster, Inc. |
From: Glyn M. <gly...@gm...> - 2008-08-13 08:16:48
|
Hi, 2008/8/13 Dean Michael Berris <mik...@gm...> > Hi Glyn! > > Sounds good to me. I tried updating the ticket for a synchronous HTTP > client, but I'm having trouble staying logged on to Sourceforge. I'll > look for a better way to do this. > Are others having problems with sourceforge? I would agree that it's not the most elegant interface in the world, and it certainly has performance issues. The reason I ask is that I've taken a look at http://www.assembla.com/ and found that its a lot easier to use, plus it has chat and discussion features that aren't available with sf. This is an aside, I'm not suggesting we switch straight away, but it might be a good solution for the longer term. G |