Git: Difference between revisions
No edit summary |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
==GIT upload== | |||
If you attempt to push a large set of changes to a Git repository with HTTP or HTTPS, you may get an error message such as error: RPC failed; result=22, HTTP code = 411. This is caused by a Git configuration default which limits certain HTTP operations to 1 megabyte. | If you attempt to push a large set of changes to a Git repository with HTTP or HTTPS, you may get an error message such as error: RPC failed; result=22, HTTP code = 411. This is caused by a Git configuration default which limits certain HTTP operations to 1 megabyte. | ||
To change this limit run within your local repository | To change this limit run within your local repository | ||
Line 4: | Line 6: | ||
git config http.postBuffer 524288000 | git config http.postBuffer 524288000 | ||
==self compiled sniffer from GIT sources== | |||
If customer use self compiled sniffer from git, (napatech card card not supported in static binaries provided by voipmonitor.org) set in sniffer's /etc/voipmnitor.conf | If customer use self compiled sniffer from git, (napatech card card not supported in static binaries provided by voipmonitor.org) set in sniffer's /etc/voipmnitor.conf | ||
upgrade_by_git = yes | upgrade_by_git = yes | ||
git_folder = /usr/src/voipmonitor-git | git_folder = /usr/src/voipmonitor-git | ||
The sniffer will perform (after click on UPGRADE in GUI) make, service voipmonitor stop, make install, service voipmonitor start | The sniffer will perform (after click on UPGRADE in GUI) git pull,configure,make_clean,make, service voipmonitor stop, make install, service voipmonitor start | ||
If you need some special parameters for configure you can add with configure_param option. E.g. | |||
configure_param = --with-dpdk-include=/opt/napatech3/include --with-dpdk-lib=/opt/napatech3/lib |
Latest revision as of 11:43, 7 July 2025
GIT upload
If you attempt to push a large set of changes to a Git repository with HTTP or HTTPS, you may get an error message such as error: RPC failed; result=22, HTTP code = 411. This is caused by a Git configuration default which limits certain HTTP operations to 1 megabyte. To change this limit run within your local repository
git config http.postBuffer *bytes*where bytes is the maximum number of bytes permitted. For exmaple:
git config http.postBuffer 524288000
self compiled sniffer from GIT sources
If customer use self compiled sniffer from git, (napatech card card not supported in static binaries provided by voipmonitor.org) set in sniffer's /etc/voipmnitor.conf
upgrade_by_git = yes git_folder = /usr/src/voipmonitor-git
The sniffer will perform (after click on UPGRADE in GUI) git pull,configure,make_clean,make, service voipmonitor stop, make install, service voipmonitor start
If you need some special parameters for configure you can add with configure_param option. E.g.
configure_param = --with-dpdk-include=/opt/napatech3/include --with-dpdk-lib=/opt/napatech3/lib