GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Example Server Code in 0.12.0 Documentation uses 'response'; doesn't compile · Issue #624 · cpp-netlib/cpp-netlib

Example Server Code in 0.12.0 Documentation uses 'response'; doesn't compile #624

New issue
Copy link
New issue
Copy link
Closed
Closed
Example Server Code in 0.12.0 Documentation uses 'response'; doesn't compile#624
Copy link
Assignees
deanberris

Description

@MMOSimca
MMOSimca
opened on Apr 7, 2016
Issue body actions

http://cpp-netlib.org/0.12.0/index.html

The Hello World HTTP server examples listed in the documentation will not compile because the 'server::response' member is now unused (I guess? First time user) in favor of 'server::connection_ptr' (at least that is what the included hello_world_server.cpp has replaced it with).

This ended up being a significant issue for me because I assumed it was simply my fault for trying to be fancy and do it in Windows (VS 2015), so I then spent several hours trying to get it working in Linux as well, which I'm not super great at (so I again assumed it was my fault).

I probably should have tried looking elsewhere for an example or looking at the documentation for 'response' and seeing it changed or tried an older version, etc; just pointing out that there is an issue.

Activity

  1. deanberris commented on Apr 8, 2016

    @deanberris
    deanberris
    on Apr 8, 2016
    Member
    More actions

    Oh, yes, that's broken. 😦

    Do you have time to fix this and send a pull request to the 0.12-release branch?

  2. deanberris
    self-assigned this
    on Apr 8, 2016
  3. glynos
    added a commit that references this issue on Apr 9, 2016

    Merge pull request #630 from susnux/documentation

    This issue will close once commit 3f35a1e is merged into the 'main' branch.
    3f35a1e
  4. glynos commented on Jun 14, 2016

    @glynos
    glynos
    on Jun 14, 2016
    Member
    More actions

    Fixed in 0.12, and the documentation is updated in 0.13 :)

  5. glynos
    closed this as completedon Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @deanberris
    deanberris

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.