initial commit
This commit is contained in:
56
3rd_party/libhttpserver-0.18.2/.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
56
3rd_party/libhttpserver-0.18.2/.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@@ -0,0 +1,56 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: "[BUG] Title"
|
||||
labels: bug
|
||||
assignees: etr
|
||||
|
||||
---
|
||||
|
||||
<!--
|
||||
|
||||
Have you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/etr/libhttpserver/blob/master/CODE_OF_CONDUCT.md
|
||||
|
||||
Do you want to ask a question? Are you looking for support? Our message board is the best place for getting support: https://gitter.im/libhttpserver/community
|
||||
|
||||
-->
|
||||
|
||||
### Prerequisites
|
||||
|
||||
* [ ] Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo%3Aetr%2Flibhttpserver&type=Issues
|
||||
|
||||
### Description
|
||||
|
||||
[Description of the issue]
|
||||
|
||||
### Steps to Reproduce
|
||||
|
||||
1. [First Step]
|
||||
2. [Second Step]
|
||||
3. [and so on...]
|
||||
|
||||
**Expected behavior:** [What you expect to happen]
|
||||
|
||||
**Actual behavior:** [What actually happens]
|
||||
|
||||
**Reproduces how often:** [What percentage of the time does it reproduce?]
|
||||
|
||||
### Versions
|
||||
|
||||
* OS version (if on linux, the output of "uname -a")
|
||||
* libhttpserver version (please specify whether compiled or packaged)
|
||||
* libmicrohttpd version (please specify whether compiled or packaged)
|
||||
|
||||
If you have problems during build:
|
||||
* Compiler version
|
||||
* autotools version
|
||||
|
||||
### Additional Information
|
||||
|
||||
Any additional information, configuration (especially build configuration flags if you compiled the libraries) or data that might be necessary to reproduce the issue.
|
||||
|
||||
If you have problems during build, please attach your config.log and the full scope of your error from make.
|
||||
|
||||
If you have problems at execution, please:
|
||||
* attach the stacktrace in case of crash (a coredump would be even better).
|
||||
* provide a main that reproduces the error.
|
||||
23
3rd_party/libhttpserver-0.18.2/.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
23
3rd_party/libhttpserver-0.18.2/.github/ISSUE_TEMPLATE/feature_request.md
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
name: Feature request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: feature-request
|
||||
assignees: etr
|
||||
|
||||
---
|
||||
|
||||
**Is your feature request related to a problem? Please describe.**
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**Describe why the feature or enhancement you are proposing fits the library.**
|
||||
A clear and concise explanation of the reason it fits into the library's mission.
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**Describe alternatives you've considered**
|
||||
A clear and concise description of any alternative solutions or features you've considered.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
||||
59
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/bug_fix.md
vendored
Normal file
59
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/bug_fix.md
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
### Requirements for Contributing a Bug Fix
|
||||
|
||||
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
|
||||
* The pull request must only fix an existing bug. To contribute other changes, you must use a different template. You can see all templates at https://github.com/etr/libhttpserver/tree/master/.github/PULL_REQUEST_TEMPLATE.
|
||||
* The pull request must update the test suite to demonstrate the changed functionality.
|
||||
* After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/etr/libhttpserver/tree/master/CONTRIBUTING.md#pull-requests.
|
||||
|
||||
### Identify the Bug
|
||||
|
||||
<!--
|
||||
|
||||
Link to the issue describing the bug that you're fixing.
|
||||
|
||||
If there is not yet an issue for your bug, please open a new issue and then link to that issue in your pull request.
|
||||
Note: In some cases, one person's "bug" is another person's "feature." If the pull request does not address an existing issue with the "bug" label, the maintainers have the final say on whether the current behavior is a bug.
|
||||
|
||||
-->
|
||||
|
||||
### Description of the Change
|
||||
|
||||
<!--
|
||||
|
||||
We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull request may be closed at the maintainers' discretion. Keep in mind that the maintainer reviewing this PR may not be familiar with or have worked with the code here recently, so please walk us through the concepts.
|
||||
|
||||
-->
|
||||
|
||||
### Alternate Designs
|
||||
|
||||
<!-- Explain what other alternates were considered and why the proposed version was selected -->
|
||||
|
||||
### Possible Drawbacks
|
||||
|
||||
<!-- What are the possible side-effects or negative impacts of the code change? -->
|
||||
|
||||
### Verification Process
|
||||
|
||||
<!--
|
||||
|
||||
What process did you follow to verify that the change has not introduced any regressions?
|
||||
|
||||
-->
|
||||
|
||||
### Release Notes
|
||||
|
||||
<!--
|
||||
|
||||
Please describe the changes in a single line that explains this improvement in
|
||||
terms that a user can understand. This text will be used in libhttpserver's release notes.
|
||||
|
||||
If this change is not user-facing or notable enough to be included in release notes
|
||||
you may use the strings "Not applicable" or "N/A" here.
|
||||
|
||||
Examples:
|
||||
|
||||
- The GitHub package now allows you to add co-authors to commits.
|
||||
- Fixed an issue where multiple cursors did not work in a file with a single line.
|
||||
- Increased the performance of searching and replacing across a whole project.
|
||||
|
||||
-->
|
||||
30
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/documentation.md
vendored
Normal file
30
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/documentation.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
### Requirements for Contributing Documentation
|
||||
|
||||
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
|
||||
* The pull request must only contribute documentation (for example, markdown files or API docs). To contribute other changes, you must use a different template. You can see all templates at https://github.com/etr/libhttpserver/tree/master/.github/PULL_REQUEST_TEMPLATE.
|
||||
|
||||
### Description of the Change
|
||||
|
||||
<!--
|
||||
|
||||
We must be able to understand the purpose of your change from this description. If we can't get a good idea of the benefits of the change from the description here, the pull request may be closed at the maintainers' discretion.
|
||||
|
||||
-->
|
||||
|
||||
### Release Notes
|
||||
|
||||
<!--
|
||||
|
||||
Please describe the changes in a single line that explains this improvement in
|
||||
terms that a user can understand. This text will be used in libhttpserver's release notes.
|
||||
|
||||
If this change is not user-facing or notable enough to be included in release notes
|
||||
you may use the strings "Not applicable" or "N/A" here.
|
||||
|
||||
Examples:
|
||||
|
||||
- The GitHub package now allows you to add co-authors to commits.
|
||||
- Fixed an issue where multiple cursors did not work in a file with a single line.
|
||||
- Increased the performance of searching and replacing across a whole project.
|
||||
|
||||
-->
|
||||
62
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/feature_change.md
vendored
Normal file
62
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/feature_change.md
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
### Requirements for Adding, Changing, or Removing a Feature
|
||||
|
||||
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
|
||||
* The pull request must contribute a change that has been endorsed by the maintainer team. See details in the template below.
|
||||
* The pull request must update the test suite to exercise the updated functionality.
|
||||
* After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/etr/libhttpserver/tree/master/CONTRIBUTING.md#pull-requests.
|
||||
|
||||
### Issue or RFC Endorsed by Maintainers
|
||||
|
||||
<!--
|
||||
|
||||
If any, link to the issue your change relates to:
|
||||
|
||||
-->
|
||||
|
||||
### Description of the Change
|
||||
|
||||
<!--
|
||||
|
||||
We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull request may be closed at the maintainers' discretion. Keep in mind that the maintainer reviewing this PR may not be familiar with or have worked with the code here recently, so please walk us through the concepts.
|
||||
|
||||
-->
|
||||
|
||||
### Alternate Designs
|
||||
|
||||
<!-- Explain what other alternates were considered and why the proposed version was selected -->
|
||||
|
||||
### Possible Drawbacks
|
||||
|
||||
<!-- What are the possible side-effects or negative impacts of the code change? -->
|
||||
|
||||
### Verification Process
|
||||
|
||||
<!--
|
||||
|
||||
What process did you follow to verify that your change has the desired effects?
|
||||
|
||||
- How did you verify that all new functionality works as expected?
|
||||
- How did you verify that all changed functionality works as expected?
|
||||
- How did you verify that the change has not introduced any regressions?
|
||||
|
||||
Describe the actions you performed.
|
||||
|
||||
-->
|
||||
|
||||
### Release Notes
|
||||
|
||||
<!--
|
||||
|
||||
Please describe the changes in a single line that explains this improvement in
|
||||
terms that a user can understand. This text will be used in libhttpserver's release notes.
|
||||
|
||||
If this change is not user-facing or notable enough to be included in release notes
|
||||
you may use the strings "Not applicable" or "N/A" here.
|
||||
|
||||
Examples:
|
||||
|
||||
- The GitHub package now allows you to add co-authors to commits.
|
||||
- Fixed an issue where multiple cursors did not work in a file with a single line.
|
||||
- Increased the performance of searching and replacing across a whole project.
|
||||
|
||||
-->
|
||||
55
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/performance_improvement.md
vendored
Normal file
55
3rd_party/libhttpserver-0.18.2/.github/PULL_REQUEST_TEMPLATE/performance_improvement.md
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
### Requirements for Contributing a Performance Improvement
|
||||
|
||||
* Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.
|
||||
* The pull request must only affect performance of existing functionality. To contribute other changes, you must use a different template. You can see all templates at https://github.com/etr/libhttpserver/tree/master/.github/PULL_REQUEST_TEMPLATE.
|
||||
* After you create the pull request, all status checks must be pass before a maintainer reviews your contribution. For more details, please see https://github.com/etr/libhttpserver/tree/master/CONTRIBUTING.md#pull-requests.
|
||||
|
||||
### Description of the Change
|
||||
|
||||
<!--
|
||||
|
||||
We must be able to understand the design of your change from this description. If we can't get a good idea of what the code will be doing from the description here, the pull request may be closed at the maintainers' discretion. Keep in mind that the maintainer reviewing this PR may not be familiar with or have worked with the code here recently, so please walk us through the concepts.
|
||||
|
||||
-->
|
||||
|
||||
### Quantitative Performance Benefits
|
||||
|
||||
<!--
|
||||
|
||||
Describe the exact performance improvement observed. Describe how you measured this change. Bonus points for including graphs that demonstrate the improvement or attached dumps from the built-in profiling tools.
|
||||
|
||||
-->
|
||||
|
||||
### Possible Drawbacks
|
||||
|
||||
<!-- What are the possible side-effects or negative impacts of the code change? -->
|
||||
|
||||
### Verification Process
|
||||
|
||||
<!--
|
||||
|
||||
What process did you follow to verify that the change has not introduced any regressions?
|
||||
|
||||
-->
|
||||
|
||||
### Applicable Issues
|
||||
|
||||
<!-- Enter any applicable Issues here -->
|
||||
|
||||
### Release Notes
|
||||
|
||||
<!--
|
||||
|
||||
Please describe the changes in a single line that explains this improvement in
|
||||
terms that a user can understand. This text will be used in libhttpserver's release notes.
|
||||
|
||||
If this change is not user-facing or notable enough to be included in release notes
|
||||
you may use the strings "Not applicable" or "N/A" here.
|
||||
|
||||
Examples:
|
||||
|
||||
- The GitHub package now allows you to add co-authors to commits.
|
||||
- Fixed an issue where multiple cursors did not work in a file with a single line.
|
||||
- Increased the performance of searching and replacing across a whole project.
|
||||
|
||||
-->
|
||||
73
3rd_party/libhttpserver-0.18.2/.github/workflows/codeql-analysis.yml
vendored
Normal file
73
3rd_party/libhttpserver-0.18.2/.github/workflows/codeql-analysis.yml
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
schedule:
|
||||
- cron: '0 4 * * 4'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
# Override automatic language detection by changing the below list
|
||||
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
|
||||
language: ['cpp']
|
||||
# Learn more...
|
||||
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
# We must fetch at least the immediate parents so that if this is
|
||||
# a pull request then we can checkout the head.
|
||||
fetch-depth: 2
|
||||
|
||||
# If this run was triggered by a pull request event, then checkout
|
||||
# the head of the pull request instead of the merge commit.
|
||||
- run: git checkout HEAD^2
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v1
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
#- name: Autobuild
|
||||
# uses: github/codeql-action/autobuild@v1
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
# and modify them (or add more) to build your code if your project
|
||||
# uses a compiled language
|
||||
|
||||
- name: Install libmicrohttpd dependency
|
||||
run: |
|
||||
curl https://s3.amazonaws.com/libhttpserver/libmicrohttpd_releases/libmicrohttpd-0.9.59.tar.gz -o libmicrohttpd-0.9.59.tar.gz ;
|
||||
tar -xzf libmicrohttpd-0.9.59.tar.gz ;
|
||||
cd libmicrohttpd-0.9.59 ;
|
||||
./configure --disable-examples ;
|
||||
make ;
|
||||
sudo make install ;
|
||||
|
||||
- name: Manual steps to build the library
|
||||
run: |
|
||||
./bootstrap ;
|
||||
./configure --enable-same-directory-build;
|
||||
make ;
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v1
|
||||
Reference in New Issue
Block a user